gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and
x86_64-*-darwin* to with_cpu:-core2.
gcc/config/i386/mmx.md (*mov<mode>_internal_rex64): Replace movq
with movd for darwin assembler.
gcc/config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto.
(*vec_concatv2di_rex64_sse): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167611
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-12-08 Iain Sandoe <iains@gcc.gnu.org>
+
+ gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and
+ x86_64-*-darwin* to with_cpu:-core2.
+ gcc/config/i386/mmx.md (*mov<mode>_internal_rex64): Replace movq
+ with movd for darwin assembler.
+ gcc/config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto.
+ (*vec_concatv2di_rex64_sse): Ditto.
+
2010-12-08 Richard Guenther <rguenther@suse.de>
Sebastian Pop <sebastian.pop@amd.com>
i[34567]86-*-darwin*)
need_64bit_hwint=yes
need_64bit_isa=yes
-
- # This is so that '.../configure && make' doesn't fail due to
- # config.guess deciding that the configuration is i386-*-darwin* and
- # then this file using that to set --with-cpu=i386 which has no -m64
- # support.
- with_cpu=${with_cpu:-generic}
+ # Baseline choice for a machine that allows m64 support.
+ with_cpu=${with_cpu:-core2}
tmake_file="${tmake_file} t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
;;
x86_64-*-darwin*)
- with_cpu=${with_cpu:-generic}
+ with_cpu=${with_cpu:-core2}
tmake_file="${tmake_file} ${cpu_type}/t-darwin64 t-slibgcc-darwin i386/t-crtpc i386/t-crtfm"
tm_file="${tm_file} ${cpu_type}/darwin64.h"
;;
%vpxor\t%0, %d0
%vmovq\t{%1, %0|%0, %1}
%vmovq\t{%1, %0|%0, %1}
- %vmovq\t{%1, %0|%0, %1}
- %vmovq\t{%1, %0|%0, %1}"
+ %vmovd\t{%1, %0|%0, %1}
+ %vmovd\t{%1, %0|%0, %1}"
[(set_attr "type" "imov,imov,mmx,mmxmov,mmxmov,mmxmov,ssecvt,ssecvt,sselog1,ssemov,ssemov,ssemov,ssemov")
(set_attr "unit" "*,*,*,*,*,*,mmx,mmx,*,*,*,*,*")
(set_attr "prefix_rep" "*,*,*,*,*,*,1,1,*,1,*,*,*")
"@
pinsrq\t{$0x1, %2, %0|%0, %2, 0x1}
movq\t{%1, %0|%0, %1}
- movq\t{%1, %0|%0, %1}
+ movd\t{%1, %0|%0, %1}
movq2dq\t{%1, %0|%0, %1}
punpcklqdq\t{%2, %0|%0, %2}
movlhps\t{%2, %0|%0, %2}
"TARGET_64BIT && TARGET_SSE"
"@
movq\t{%1, %0|%0, %1}
- movq\t{%1, %0|%0, %1}
+ movd\t{%1, %0|%0, %1}
movq2dq\t{%1, %0|%0, %1}
punpcklqdq\t{%2, %0|%0, %2}
movlhps\t{%2, %0|%0, %2}