From: Uros Bizjak Date: Sun, 30 Jun 2019 19:40:32 +0000 (+0200) Subject: i386.md (mmx_isa): Rename x64, x64_noavx and x64_avx to sse, sse_noavx and avx. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b49ae8a52f95e08025758c68c7ea4ac01cd4b7f8;p=gcc.git i386.md (mmx_isa): Rename x64, x64_noavx and x64_avx to sse, sse_noavx and avx. * config/i386/i386.md (mmx_isa): Rename x64, x64_noavx and x64_avx to sse, sse_noavx and avx. Update all uses. * config/i386/mmx.md (sse_movntq): Add "isa" attribute. (*mmx_3): Ditto. (*mmx_mulv4hi3"): Ditto. (*mmx_smulv4hi3_highpart): Ditto. (*mmx_umulv4hi3_highpart): Ditto. (*mmx_pmaddwd): Ditto. (*sse2_umulv1siv1di3): Ditto. (*mmx_v4hi3): Ditto. (*mmx_v8qi3): Ditto. (mmx_ashr3): Ditto. ("mmx_3): Ditto. (*mmx_eq3): Ditto. (mmx_gt3): Ditto. (mmx_andnot3): Ditto. (*mmx_3): Ditto. (*mmx_pinsrw): Ditto. (*mmx_pextrw): Ditto. (mmx_pshufw_1): Ditto. (*mmx_uavgv8qi3): Ditto. (*mmx_uavgv4hi3): Ditto. ("mmx_psadbw): Ditto. * config/i386/sse.md (sse_cvtps2pi): Ditto. (sse_cvttps2pi): Ditto. (ssse3_pmaddubsw): Ditto. (*ssse3_pmulhrswv4hi3): Ditto. (ssse3_psign3): Ditto. From-SVN: r272834 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 18ca5919b72..879aa2eac7d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,37 @@ +2019-06-30 Uroš Bizjak + + * config/i386/i386.md (mmx_isa): Rename x64, x64_noavx and x64_avx + to sse, sse_noavx and avx. Update all uses. + +2019-06-30 Uroš Bizjak + + * config/i386/mmx.md (sse_movntq): Add "isa" attribute. + (*mmx_3): Ditto. + (*mmx_mulv4hi3"): Ditto. + (*mmx_smulv4hi3_highpart): Ditto. + (*mmx_umulv4hi3_highpart): Ditto. + (*mmx_pmaddwd): Ditto. + (*sse2_umulv1siv1di3): Ditto. + (*mmx_v4hi3): Ditto. + (*mmx_v8qi3): Ditto. + (mmx_ashr3): Ditto. + ("mmx_3): Ditto. + (*mmx_eq3): Ditto. + (mmx_gt3): Ditto. + (mmx_andnot3): Ditto. + (*mmx_3): Ditto. + (*mmx_pinsrw): Ditto. + (*mmx_pextrw): Ditto. + (mmx_pshufw_1): Ditto. + (*mmx_uavgv8qi3): Ditto. + (*mmx_uavgv4hi3): Ditto. + ("mmx_psadbw): Ditto. + * config/i386/sse.md (sse_cvtps2pi): Ditto. + (sse_cvttps2pi): Ditto. + (ssse3_pmaddubsw): Ditto. + (*ssse3_pmulhrswv4hi3): Ditto. + (ssse3_psign3): Ditto. + 2019-06-29 Eric Botcazou * expr.c (expand_expr_real_1) : Apply the big-endian diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 19beeb2a59a..c362a72411a 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -801,7 +801,7 @@ (const_string "base")) ;; Define instruction set of MMX instructions -(define_attr "mmx_isa" "base,native,x64,x64_noavx,x64_avx" +(define_attr "mmx_isa" "base,native,sse,sse_noavx,avx" (const_string "base")) (define_attr "enabled" "" @@ -845,12 +845,12 @@ (eq_attr "mmx_isa" "native") (symbol_ref "!TARGET_MMX_WITH_SSE") - (eq_attr "mmx_isa" "x64") + (eq_attr "mmx_isa" "sse") (symbol_ref "TARGET_MMX_WITH_SSE") - (eq_attr "mmx_isa" "x64_avx") - (symbol_ref "TARGET_MMX_WITH_SSE && TARGET_AVX") - (eq_attr "mmx_isa" "x64_noavx") + (eq_attr "mmx_isa" "sse_noavx") (symbol_ref "TARGET_MMX_WITH_SSE && !TARGET_AVX") + (eq_attr "mmx_isa" "avx") + (symbol_ref "TARGET_MMX_WITH_SSE && TARGET_AVX") ] (const_int 1))) diff --git a/gcc/config/i386/mmx.md b/gcc/config/i386/mmx.md index dc8dabfafc8..70413349390 100644 --- a/gcc/config/i386/mmx.md +++ b/gcc/config/i386/mmx.md @@ -247,7 +247,8 @@ "@ movntq\t{%1, %0|%0, %1} movnti\t{%1, %0|%0, %1}" - [(set_attr "mmx_isa" "native,x64") + [(set_attr "isa" "*,x64") + (set_attr "mmx_isa" "native,*") (set_attr "type" "mmxmov,ssemov") (set_attr "mode" "DI")]) @@ -594,7 +595,7 @@ (vec_duplicate:V4SF (match_dup 1)))] "operands[0] = lowpart_subreg (V4SFmode, operands[0], GET_MODE (operands[0]));" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "mmxcvt,ssemov,ssemov") (set_attr "mode" "DI,TI,TI")]) @@ -730,7 +731,8 @@ p\t{%2, %0|%0, %2} p\t{%2, %0|%0, %2} vp\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxadd,sseadd,sseadd") (set_attr "mode" "DI,TI,TI")]) @@ -753,7 +755,8 @@ p\t{%2, %0|%0, %2} p\t{%2, %0|%0, %2} vp\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxadd,sseadd,sseadd") (set_attr "mode" "DI,TI,TI")]) @@ -781,7 +784,8 @@ pmullw\t{%2, %0|%0, %2} pmullw\t{%2, %0|%0, %2} vpmullw\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxmul,ssemul,ssemul") (set_attr "mode" "DI,TI,TI")]) @@ -814,7 +818,8 @@ pmulhw\t{%2, %0|%0, %2} pmulhw\t{%2, %0|%0, %2} vpmulhw\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxmul,ssemul,ssemul") (set_attr "mode" "DI,TI,TI")]) @@ -849,7 +854,8 @@ pmulhuw\t{%2, %0|%0, %2} pmulhuw\t{%2, %0|%0, %2} vpmulhuw\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxmul,ssemul,ssemul") (set_attr "mode" "DI,TI,TI")]) @@ -900,7 +906,8 @@ pmaddwd\t{%2, %0|%0, %2} pmaddwd\t{%2, %0|%0, %2} vpmaddwd\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxmul,sseiadd,sseiadd") (set_attr "mode" "DI,TI,TI")]) @@ -971,7 +978,8 @@ pmuludq\t{%2, %0|%0, %2} pmuludq\t{%2, %0|%0, %2} vpmuludq\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxmul,ssemul,ssemul") (set_attr "mode" "DI,TI,TI")]) @@ -1004,7 +1012,8 @@ pw\t{%2, %0|%0, %2} pw\t{%2, %0|%0, %2} vpw\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxadd,sseiadd,sseiadd") (set_attr "mode" "DI,TI,TI")]) @@ -1037,7 +1046,8 @@ pb\t{%2, %0|%0, %2} pb\t{%2, %0|%0, %2} vpb\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxadd,sseiadd,sseiadd") (set_attr "mode" "DI,TI,TI")]) @@ -1051,7 +1061,8 @@ psra\t{%2, %0|%0, %2} psra\t{%2, %0|%0, %2} vpsra\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxshft,sseishft,sseishft") (set (attr "length_immediate") (if_then_else (match_operand 2 "const_int_operand") @@ -1076,7 +1087,8 @@ p\t{%2, %0|%0, %2} p\t{%2, %0|%0, %2} vp\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxshft,sseishft,sseishft") (set (attr "length_immediate") (if_then_else (match_operand 2 "const_int_operand") @@ -1116,7 +1128,8 @@ pcmpeq\t{%2, %0|%0, %2} pcmpeq\t{%2, %0|%0, %2} vpcmpeq\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxcmp,ssecmp,ssecmp") (set_attr "mode" "DI,TI,TI")]) @@ -1130,7 +1143,8 @@ pcmpgt\t{%2, %0|%0, %2} pcmpgt\t{%2, %0|%0, %2} vpcmpgt\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxcmp,ssecmp,ssecmp") (set_attr "mode" "DI,TI,TI")]) @@ -1150,7 +1164,8 @@ pandn\t{%2, %0|%0, %2} pandn\t{%2, %0|%0, %2} vpandn\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxadd,sselog,sselog") (set_attr "mode" "DI,TI,TI")]) @@ -1181,7 +1196,8 @@ p\t{%2, %0|%0, %2} p\t{%2, %0|%0, %2} vp\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxadd,sselog,sselog") (set_attr "mode" "DI,TI,TI")]) @@ -1211,7 +1227,7 @@ "TARGET_MMX_WITH_SSE && reload_completed" [(const_int 0)] "ix86_split_mmx_pack (operands, ); DONE;" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "mmxshft,sselog,sselog") (set_attr "mode" "DI,TI,TI")]) @@ -1230,7 +1246,7 @@ "TARGET_MMX_WITH_SSE && reload_completed" [(const_int 0)] "ix86_split_mmx_pack (operands, SS_TRUNCATE); DONE;" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "mmxshft,sselog,sselog") (set_attr "mode" "DI,TI,TI")]) @@ -1252,7 +1268,7 @@ "TARGET_MMX_WITH_SSE && reload_completed" [(const_int 0)] "ix86_split_mmx_punpck (operands, true); DONE;" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "mmxcvt,sselog,sselog") (set_attr "mode" "DI,TI,TI")]) @@ -1274,7 +1290,7 @@ "TARGET_MMX_WITH_SSE && reload_completed" [(const_int 0)] "ix86_split_mmx_punpck (operands, false); DONE;" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "mmxcvt,sselog,sselog") (set_attr "mode" "DI,TI,TI")]) @@ -1294,7 +1310,7 @@ "TARGET_MMX_WITH_SSE && reload_completed" [(const_int 0)] "ix86_split_mmx_punpck (operands, true); DONE;" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "mmxcvt,sselog,sselog") (set_attr "mode" "DI,TI,TI")]) @@ -1314,7 +1330,7 @@ "TARGET_MMX_WITH_SSE && reload_completed" [(const_int 0)] "ix86_split_mmx_punpck (operands, false); DONE;" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "mmxcvt,sselog,sselog") (set_attr "mode" "DI,TI,TI")]) @@ -1334,7 +1350,7 @@ "TARGET_MMX_WITH_SSE && reload_completed" [(const_int 0)] "ix86_split_mmx_punpck (operands, true); DONE;" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "mmxcvt,sselog,sselog") (set_attr "mode" "DI,TI,TI")]) @@ -1354,7 +1370,7 @@ "TARGET_MMX_WITH_SSE && reload_completed" [(const_int 0)] "ix86_split_mmx_punpck (operands, false); DONE;" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "mmxcvt,sselog,sselog") (set_attr "mode" "DI,TI,TI")]) @@ -1385,22 +1401,25 @@ < GET_MODE_NUNITS (V4HImode))" { operands[3] = GEN_INT (exact_log2 (INTVAL (operands[3]))); - if (TARGET_MMX_WITH_SSE && TARGET_AVX) + switch (which_alternative) { + case 2: if (MEM_P (operands[2])) return "vpinsrw\t{%3, %2, %1, %0|%0, %1, %2, %3}"; else return "vpinsrw\t{%3, %k2, %1, %0|%0, %1, %k2, %3}"; - } - else - { + case 1: + case 0: if (MEM_P (operands[2])) return "pinsrw\t{%3, %2, %0|%0, %2, %3}"; else return "pinsrw\t{%3, %k2, %0|%0, %k2, %3}"; + default: + gcc_unreachable (); } } - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxcvt,sselog,sselog") (set_attr "length_immediate" "1") (set_attr "mode" "DI,TI,TI")]) @@ -1416,7 +1435,8 @@ "@ pextrw\t{%2, %1, %0|%0, %1, %2} %vpextrw\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64") + [(set_attr "isa" "*,sse2") + (set_attr "mmx_isa" "native,*") (set_attr "type" "mmxcvt,sselog1") (set_attr "length_immediate" "1") (set_attr "mode" "DI,TI")]) @@ -1465,7 +1485,8 @@ gcc_unreachable (); } } - [(set_attr "mmx_isa" "native,x64") + [(set_attr "isa" "*,sse2") + (set_attr "mmx_isa" "native,*") (set_attr "type" "mmxcvt,sselog") (set_attr "length_immediate" "1") (set_attr "mode" "DI,TI")]) @@ -1524,7 +1545,7 @@ emit_insn (gen_rtx_SET (operands[0], op)); DONE; } - [(set_attr "mmx_isa" "native,x64,x64_avx") + [(set_attr "mmx_isa" "native,sse,avx") (set_attr "type" "mmxcvt,sselog1,ssemov") (set_attr "length_immediate" "1,1,0") (set_attr "mode" "DI,TI,TI")]) @@ -1544,7 +1565,7 @@ (vec_duplicate:V4SI (match_dup 1)))] "operands[0] = lowpart_subreg (V4SImode, operands[0], GET_MODE (operands[0]));" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx,avx") (set_attr "type" "mmxcvt,ssemov,ssemov,ssemov") (set_attr "mode" "DI,TI,TI,TI")]) @@ -1766,16 +1787,24 @@ && (TARGET_SSE || TARGET_3DNOW) && ix86_binary_operator_ok (PLUS, V8QImode, operands)" { - /* These two instructions have the same operation, but their encoding - is different. Prefer the one that is de facto standard. */ - if (TARGET_MMX_WITH_SSE && TARGET_AVX) - return "vpavgb\t{%2, %1, %0|%0, %1, %2}"; - else if (TARGET_SSE || TARGET_3DNOW_A) - return "pavgb\t{%2, %0|%0, %2}"; - else - return "pavgusb\t{%2, %0|%0, %2}"; + switch (which_alternative) + { + case 2: + return "vpavgb\t{%2, %1, %0|%0, %1, %2}"; + case 1: + case 0: + /* These two instructions have the same operation, but their encoding + is different. Prefer the one that is de facto standard. */ + if (TARGET_SSE || TARGET_3DNOW_A) + return "pavgb\t{%2, %0|%0, %2}"; + else + return "pavgusb\t{%2, %0|%0, %2}"; + default: + gcc_unreachable (); + } } - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxshft,sseiadd,sseiadd") (set (attr "prefix_extra") (if_then_else @@ -1822,7 +1851,8 @@ pavgw\t{%2, %0|%0, %2} pavgw\t{%2, %0|%0, %2} vpavgw\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxshft,sseiadd,sseiadd") (set_attr "mode" "DI,TI,TI")]) @@ -1837,7 +1867,8 @@ psadbw\t{%2, %0|%0, %2} psadbw\t{%2, %0|%0, %2} vpsadbw\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,sse2_noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "mmxshft,sseiadd,sseiadd") (set_attr "mode" "DI,TI,TI")]) @@ -1862,7 +1893,7 @@ operands[2] = lowpart_subreg (QImode, operands[0], GET_MODE (operands[0])); } - [(set_attr "mmx_isa" "native,x64") + [(set_attr "mmx_isa" "native,sse") (set_attr "type" "mmxcvt,ssemov") (set_attr "mode" "DI,TI")]) diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 6831487139d..e46a83e7014 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -5150,7 +5150,7 @@ } DONE; } - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "ssecvt") (set_attr "mode" "V4SF")]) @@ -5164,7 +5164,8 @@ "@ cvtps2pi\t{%1, %0|%0, %q1} %vcvtps2dq\t{%1, %0|%0, %1}" - [(set_attr "mmx_isa" "native,x64") + [(set_attr "isa" "*,sse2") + (set_attr "mmx_isa" "native,*") (set_attr "type" "ssecvt") (set_attr "unit" "mmx,*") (set_attr "mode" "DI")]) @@ -5178,7 +5179,8 @@ "@ cvttps2pi\t{%1, %0|%0, %q1} %vcvttps2dq\t{%1, %0|%0, %1}" - [(set_attr "mmx_isa" "native,x64") + [(set_attr "isa" "*,sse2") + (set_attr "mmx_isa" "native,*") (set_attr "type" "ssecvt") (set_attr "unit" "mmx,*") (set_attr "prefix_rep" "0") @@ -15893,7 +15895,7 @@ ix86_move_vector_high_sse_to_mmx (op0); DONE; } - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "sseiadd") (set_attr "atom_unit" "complex") (set_attr "prefix_extra" "1") @@ -16009,7 +16011,7 @@ ix86_move_vector_high_sse_to_mmx (op0); DONE; } - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "sseiadd") (set_attr "atom_unit" "complex") (set_attr "prefix_extra" "1") @@ -16192,7 +16194,8 @@ pmaddubsw\t{%2, %0|%0, %2} pmaddubsw\t{%2, %0|%0, %2} vpmaddubsw\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "sseiadd") (set_attr "atom_unit" "simul") (set_attr "prefix_extra" "1") @@ -16313,7 +16316,8 @@ pmulhrsw\t{%2, %0|%0, %2} pmulhrsw\t{%2, %0|%0, %2} vpmulhrsw\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "sseimul") (set_attr "prefix_extra" "1") (set (attr "prefix_rex") (symbol_ref "x86_extended_reg_mentioned_p (insn)")) @@ -16373,7 +16377,7 @@ rtx vec_const = gen_rtx_CONST_VECTOR (V4SImode, par); operands[5] = force_const_mem (V4SImode, vec_const); } - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "prefix_extra" "1") (set (attr "prefix_rex") (symbol_ref "x86_extended_reg_mentioned_p (insn)")) (set_attr "mode" "DI,TI,TI")]) @@ -16406,7 +16410,8 @@ psign\t{%2, %0|%0, %2} psign\t{%2, %0|%0, %2} vpsign\t{%2, %1, %0|%0, %1, %2}" - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "isa" "*,noavx,avx") + (set_attr "mmx_isa" "native,*,*") (set_attr "type" "sselog1") (set_attr "prefix_extra" "1") (set (attr "prefix_rex") (symbol_ref "x86_extended_reg_mentioned_p (insn)")) @@ -16510,7 +16515,7 @@ } operands[0] = lowpart_subreg (V1TImode, op0, GET_MODE (op0)); } - [(set_attr "mmx_isa" "native,x64_noavx,x64_avx") + [(set_attr "mmx_isa" "native,sse_noavx,avx") (set_attr "type" "sseishft") (set_attr "atom_unit" "sishuf") (set_attr "prefix_extra" "1") @@ -16587,7 +16592,7 @@ "@ pabs\t{%1, %0|%0, %1} %vpabs\t{%1, %0|%0, %1}" - [(set_attr "mmx_isa" "native,x64") + [(set_attr "mmx_isa" "native,*") (set_attr "type" "sselog1") (set_attr "prefix_rep" "0") (set_attr "prefix_extra" "1")