diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-11-27 09:31:30 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-11-27 09:31:30 +0000 |
commit | ca65141bc7cebea973cb62093a874cad0e9c642a (patch) | |
tree | d826f4a91c9273420429a517831371be8392aaf3 /powerpc/PrintAsm.ml | |
parent | 6ee04b19dc6106932e7498e34c1b4938a94bf074 (diff) |
Be more conservative in choosing the unrolled form of __builtin_memcpy.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2375 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'powerpc/PrintAsm.ml')
-rw-r--r-- | powerpc/PrintAsm.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerpc/PrintAsm.ml b/powerpc/PrintAsm.ml index 108dbaf..764020a 100644 --- a/powerpc/PrintAsm.ml +++ b/powerpc/PrintAsm.ml @@ -385,7 +385,7 @@ let print_builtin_memcpy oc sz al args = match args with [IR d; IR s] -> (d, s) | _ -> assert false in fprintf oc "%s begin builtin __builtin_memcpy_aligned, size = %d, alignment = %d\n" comment sz al; - if sz <= 64 + if sz <= (if !Clflags.option_ffpu then 48 else 24) then print_builtin_memcpy_small oc sz al src dst else print_builtin_memcpy_big oc sz al src dst; fprintf oc "%s end builtin __builtin_memcpy_aligned\n" comment |