X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fconfig%2Fi386%2Fsse.md;h=40ab29746ee1d3c163fa084e49193f119f729725;hp=e40416b3a9cd55c26c15db7d9eb91df76e7a6b9f;hb=f9162d6cdf59a6a8fef6467f58406634e6aa7fee;hpb=175ddbd8d7c2ef0a7fbb5efdecf7107edc1e96cc diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index e40416b3a9c..40ab29746ee 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -43,8 +43,10 @@ (define_mode_attr ssevecsize [(V16QI "b") (V8HI "w") (V4SI "d") (V2DI "q")]) ;; Mapping of the sse5 suffix -(define_mode_attr ssemodesuffixf4 [(SF "ss") (DF "sd") (V4SF "ps") (V2DF "pd")]) -(define_mode_attr ssemodesuffixf2s [(SF "ss") (DF "sd") (V4SF "ss") (V2DF "sd")]) +(define_mode_attr ssemodesuffixf4 [(SF "ss") (DF "sd") + (V4SF "ps") (V2DF "pd")]) +(define_mode_attr ssemodesuffixf2s [(SF "ss") (DF "sd") + (V4SF "ss") (V2DF "sd")]) (define_mode_attr ssemodesuffixf2c [(V4SF "s") (V2DF "d")]) ;; Mapping of the max integer size for sse5 rotate immediate constraint @@ -346,17 +348,12 @@ ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(define_expand "neg2" - [(set (match_operand:SSEMODEF2P 0 "register_operand" "") - (neg:SSEMODEF2P (match_operand:SSEMODEF2P 1 "register_operand" "")))] - "SSE_VEC_FLOAT_MODE_P (mode)" - "ix86_expand_fp_absneg_operator (NEG, mode, operands); DONE;") - -(define_expand "abs2" +(define_expand "2" [(set (match_operand:SSEMODEF2P 0 "register_operand" "") - (abs:SSEMODEF2P (match_operand:SSEMODEF2P 1 "register_operand" "")))] + (absneg:SSEMODEF2P + (match_operand:SSEMODEF2P 1 "register_operand" "")))] "SSE_VEC_FLOAT_MODE_P (mode)" - "ix86_expand_fp_absneg_operator (ABS, mode, operands); DONE;") + "ix86_expand_fp_absneg_operator (, mode, operands); DONE;") (define_expand "3" [(set (match_operand:SSEMODEF2P 0 "register_operand" "")