From: Uros Bizjak Date: Sat, 6 Aug 2011 08:15:10 +0000 (+0200) Subject: i386.md (ssemodesuffix): Remove V8SI mode. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd7c6bc5bfb1304b12d36972f4e2037555fd2d89;p=gcc.git i386.md (ssemodesuffix): Remove V8SI mode. * config/i386/i386.md (ssemodesuffix): Remove V8SI mode. * config/i386/sse.md (castmode): New mode attribute. (avx__): Rename from avx__. From-SVN: r177504 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8ec9d41392c..4757cf14fdc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-08-06 Uros Bizjak + + * config/i386/i386.md (ssemodesuffix): Remove V8SI mode. + * config/i386/sse.md (castmode): New mode attribute. + (avx__): Rename from + avx__. + 2011-08-05 Jan Hubicka PR middle-end/49494 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 1bea9eecd20..ee93e71bed4 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -935,8 +935,7 @@ [(SF "ss") (DF "sd") (V8SF "ps") (V4DF "pd") (V4SF "ps") (V2DF "pd") - (V16QI "b") (V8HI "w") (V4SI "d") (V2DI "q") - (V8SI "si")]) + (V16QI "b") (V8HI "w") (V4SI "d") (V2DI "q")]) ;; SSE vector suffix for floating point modes (define_mode_attr ssevecmodesuffix [(SF "ps") (DF "pd")]) diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 7abee333ef2..5a406c51c94 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -178,6 +178,9 @@ (define_mode_attr sserotatemax [(V16QI "7") (V8HI "15") (V4SI "31") (V2DI "63")]) +;; Mapping of mode to cast intrinsic name +(define_mode_attr castmode [(V8SI "si") (V8SF "ps") (V4DF "pd")]) + ;; Instruction suffix for sign and zero extensions. (define_code_attr extsuffix [(sign_extend "sx") (zero_extend "zx")]) @@ -10233,7 +10236,7 @@ (set_attr "prefix" "vex") (set_attr "mode" "")]) -(define_insn_and_split "avx__" +(define_insn_and_split "avx__" [(set (match_operand:AVX256MODE2P 0 "nonimmediate_operand" "=x,m") (unspec:AVX256MODE2P [(match_operand: 1 "nonimmediate_operand" "xm,x")]