X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdriver%2Fmangler%2Fghc-asm.lprl;h=3406419b7b6aa844fa712aeeb9f5ccb8bbf0a3f0;hb=435a55f2516a44d4ef3ab15d8c67eb4077ff5acf;hp=63b753fdfd8a7b1545b5dd4767dd64a1f30cb70d;hpb=085a9ce77c7c1b42941af23b2f41c910a4a35720;p=ghc-hetmet.git diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index 63b753f..3406419 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/ghc-asm.lprl @@ -1438,7 +1438,8 @@ sub print_doctored { # # and optimise: # - s/^\tmovq\s+(-?\d*\(\%r(bx|bp)\)),\s*(\%r(ax|cx|dx|10|11))\n\tjmp\s+\*\3/\tjmp\t\*$1/g; + s/^\tmovq\s+(-?\d*\(\%r(bx|bp|13)\)),\s*(\%r(ax|cx|dx|10|11))\n\tjmp\s+\*\3/\tjmp\t\*$1/g; + s/^\tmovl\s+\$${T_US}(.*),\s*(\%e(ax|cx|si|di))\n\tjmp\s+\*\%r\3/\tjmp\t$T_US$1/g; } if ( $TargetPlatform !~ /^i386-/