summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-11-28 09:51:24 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2010-11-28 09:51:24 +0000
commit4b23f9300df9e2f532745f2810aaa1e0d61f08d8 (patch)
tree916860548615551ff6cb38e1338baae0d7f4a351
parentec604c3c577443a3bbc436d0cbcc06b6b67f3851 (diff)
Use movapd instead of movsd for xmm reg-reg move: it avoids partial register stalls, resulting in tiny speedups.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1556 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
-rw-r--r--ia32/PrintAsm.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ia32/PrintAsm.ml b/ia32/PrintAsm.ml
index 7d75048..e4c2ea1 100644
--- a/ia32/PrintAsm.ml
+++ b/ia32/PrintAsm.ml
@@ -360,7 +360,7 @@ let print_instruction oc labels = function
| Pmovd_rf(rd, r1) ->
fprintf oc " movd %a, %a\n" freg r1 ireg rd
| Pmovsd_ff(rd, r1) ->
- fprintf oc " movsd %a, %a\n" freg r1 freg rd
+ fprintf oc " movapd %a, %a\n" freg r1 freg rd
| Pmovsd_fi(rd, n) ->
let b = Int64.bits_of_float n in
if b = 0L then (* +0.0 *)