On Tue, Nov 10, 2026 at 2:20 AM liuhongt <[email protected]> wrote:
>
> Remove md definitions that nothing references:
>
>  - define_expands that are neither standard pattern names nor called
>    through gen_* or CODE_FOR_*.  strlenqi_1 lost its only caller in
>    r10-93-g786e0e52395 (PR target/88809), and *strlenqi_1 goes with
>    it because UNSPEC_SCAS is now only created by the strlen<mode>
>    template, which always ends in DONE or FAIL.  Replace that template
>    with a plain operand list and remove UNSPEC_SCAS.  The unmasked AVX10
>    FP8 conversion and saturating truncation expanders are unused
>    because the builtins only use the _mask variants; the matching
>    define_insns are kept.
>  - Predicates, mode/code iterators, mode attributes, subst attributes,
>    unspecs, define_constants and one register constraint that have no
>    users.
>
> No change in generated code.
>
> Bootstrapped and regtested on x86_64-pc-linux-gnu{-m32,}.
> Ok for trunk?
>
> gcc/ChangeLog:
>
>         * config/i386/constraints.md (jR): Remove.
>         * config/i386/i386.md (UNSPEC_SIZEOF, UNSPEC_STACK_ALLOC)
>         (UNSPEC_LD_MPIC, UNSPEC_FXAM_MEM, UNSPECV_NLGR): Remove.
>         (COM_FALSE_S, COM_FALSE_P, COM_TRUE_S, COM_TRUE_P): Remove.
>         (PPERM_SRC, PPERM_INVERT, PPERM_REVERSE, PPERM_REV_INV)
>         (PPERM_ZERO, PPERM_ONES, PPERM_SIGN, PPERM_INV_SIGN, PPERM_SRC1)
>         (PPERM_SRC2): Remove.
>         (fpint_logic): Remove.
>         (strlenqi_1, *strlenqi_1): Remove.
>         (UNSPEC_SCAS): Remove.
>         (strlen<mode>): Use a plain operand list as the pattern.
>         * config/i386/predicates.md (x86_64_immediate_size_operand)
>         (const2367_operand, const_0_to_4_operand)
>         (const_0_to_5_operand): Remove.
>         * config/i386/sse.md (V_512, VF1_128_256VL, VF2_128_256)
>         (VI1_AVX512VNNI, VI2_AVX2, VI48_AVX2, VI4_256_8_512): Remove.
>         (vec_avx2): Remove.
>         (avx_cvtpd2dq256_2, avx_cvttpd2dq256_2): Remove.
>         (avx512f_perm<mode>): Remove.
>         (vcvt<convertph2fp8>v8hf, vcvt<convertps2fp8>v4sf)
>         (vcvt<convertps2fp8>v8sf, vcvt<biasps2fp8>v4sf)
>         (vcvt<biasps2fp8>v8sf): Remove.
>         (avx10v2aux_sym_truncatev4siv4qi2)
>         (avx10v2aux_sym_truncatev8siv8qi2): Remove.
>         * config/i386/subst.md (mask_prefix4, sdc_mask_op5)
>         (round_mask_operand4, round_mask_op4, round_codefor)
>         (round_opnum, round_saeonly_sdc_mask_operand5)
>         (round_saeonly_op3): Remove.

OK.

Thanks,
Uros.

>
> Assisted-by: Claude Opus 5.5
> ---
>  gcc/config/i386/constraints.md |   4 -
>  gcc/config/i386/i386.md        |  66 +---------------
>  gcc/config/i386/predicates.md  |  26 -------
>  gcc/config/i386/sse.md         | 137 ---------------------------------
>  gcc/config/i386/subst.md       |   8 --
>  5 files changed, 4 insertions(+), 237 deletions(-)
>
> diff --git a/gcc/config/i386/constraints.md b/gcc/config/i386/constraints.md
> index af7ebb7670b..1200f225ee2 100644
> --- a/gcc/config/i386/constraints.md
> +++ b/gcc/config/i386/constraints.md
> @@ -396,13 +396,9 @@ (define_address_constraint "Ts"
>  ;;  p  General address operand without GPR32.
>  ;;  m  Memory operand without GPR32.
>  ;;  M  Memory operand, with APX NDD check.
> -;;  R  Integer register.  GENERAL_REGS.
>  ;;  O  Offsettable memory operand, with APX NDD check.
>  ;;  V  Non-offsetable memory operand without GPR32.
>
> -;; Constraint that force to use EGPR, can only adopt to register class.
> -(define_register_constraint  "jR" "GENERAL_REGS")
> -
>  (define_register_constraint  "jr"
>   "TARGET_APX_EGPR ? GENERAL_GPR16 : GENERAL_REGS")
>
> diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
> index f24f9185c95..b2f46ee6c9c 100644
> --- a/gcc/config/i386/i386.md
> +++ b/gcc/config/i386/i386.md
> @@ -79,11 +79,9 @@ (define_c_enum "unspec" [
>    UNSPEC_PLTOFF
>    UNSPEC_MACHOPIC_OFFSET
>    UNSPEC_PCREL
> -  UNSPEC_SIZEOF
>    UNSPEC_SECREL32
>
>    ;; Prologue support
> -  UNSPEC_STACK_ALLOC
>    UNSPEC_SET_GOT
>    UNSPEC_SET_RIP
>    UNSPEC_SET_GOT_OFFSET
> @@ -97,14 +95,12 @@ (define_c_enum "unspec" [
>    UNSPEC_TLSDESC
>
>    ;; Other random patterns
> -  UNSPEC_SCAS
>    UNSPEC_FNSTSW
>    UNSPEC_SAHF
>    UNSPEC_NOTRAP
>    UNSPEC_PARITY
>    UNSPEC_FSTCW
>    UNSPEC_REP
> -  UNSPEC_LD_MPIC       ; load_macho_picbase
>    UNSPEC_TRUNC_NOOP
>    UNSPEC_DIV_ALREADY_SPLIT
>    UNSPEC_PAUSE
> @@ -181,7 +177,6 @@ (define_c_enum "unspec" [
>    UNSPEC_FPREM1_U
>
>    UNSPEC_C2_FLAG
> -  UNSPEC_FXAM_MEM
>
>    ;; SSP patterns
>    UNSPEC_SP_SET
> @@ -290,8 +285,6 @@ (define_c_enum "unspecv" [
>    UNSPECV_XABORT
>    UNSPECV_XTEST
>
> -  UNSPECV_NLGR
> -
>    ;; For CLWB support
>    UNSPECV_CLWB
>
> @@ -397,26 +390,8 @@ (define_constants
>  (define_constants
>    [(PCOM_FALSE                 0)
>     (PCOM_TRUE                  1)
> -   (COM_FALSE_S                        2)
> -   (COM_FALSE_P                        3)
> -   (COM_TRUE_S                 4)
> -   (COM_TRUE_P                 5)
>    ])
>
> -;; Constants used in the XOP pperm instruction
> -(define_constants
> -  [(PPERM_SRC                  0x00)   /* copy source */
> -   (PPERM_INVERT               0x20)   /* invert source */
> -   (PPERM_REVERSE              0x40)   /* bit reverse source */
> -   (PPERM_REV_INV              0x60)   /* bit reverse & invert src */
> -   (PPERM_ZERO                 0x80)   /* all 0's */
> -   (PPERM_ONES                 0xa0)   /* all 1's */
> -   (PPERM_SIGN                 0xc0)   /* propagate sign bit */
> -   (PPERM_INV_SIGN             0xe0)   /* invert & propagate sign */
> -   (PPERM_SRC1                 0x00)   /* use first source byte */
> -   (PPERM_SRC2                 0x10)   /* use second source byte */
> -   ])
> -
>  ;; Registers by name.
>  (define_constants
>    [(AX_REG                      0)
> @@ -1097,7 +1072,6 @@ (define_int_attr ieee_maxmin
>  ;; Mapping of logic operators
>  (define_code_iterator any_logic [and ior xor])
>  (define_code_iterator any_or [ior xor])
> -(define_code_iterator fpint_logic [and xor])
>
>  ;; Base name for insn mnemonic.
>  (define_code_attr logic [(and "and") (ior "or") (xor "xor")])
> @@ -27476,11 +27450,10 @@ (define_insn "*cmpstrnqi_1"
>     (set_attr "prefix_rep" "1")])
>
>  (define_expand "strlen<mode>"
> -  [(set (match_operand:P 0 "register_operand")
> -       (unspec:P [(match_operand:BLK 1 "general_operand")
> -                  (match_operand:QI 2 "immediate_operand")
> -                  (match_operand 3 "immediate_operand")]
> -                 UNSPEC_SCAS))]
> +  [(match_operand:P 0 "register_operand")
> +   (match_operand:BLK 1 "general_operand")
> +   (match_operand:QI 2 "immediate_operand")
> +   (match_operand 3 "immediate_operand")]
>    ""
>  {
>   if (ix86_expand_strlen (operands[0], operands[1], operands[2], operands[3]))
> @@ -27489,37 +27462,6 @@ (define_expand "strlen<mode>"
>     FAIL;
>  })
>
> -(define_expand "strlenqi_1"
> -  [(parallel [(set (match_operand 0 "register_operand")
> -                  (match_operand 2))
> -             (clobber (match_operand 1 "register_operand"))
> -             (clobber (reg:CC FLAGS_REG))])]
> -  ""
> -{
> -  if (TARGET_CLD)
> -    ix86_optimize_mode_switching[X86_DIRFLAG] = 1;
> -})
> -
> -(define_insn "*strlenqi_1"
> -  [(set (match_operand:P 0 "register_operand" "=&c")
> -       (unspec:P [(mem:BLK (match_operand:P 5 "register_operand" "1"))
> -                  (match_operand:QI 2 "register_operand" "a")
> -                  (match_operand:P 3 "immediate_operand" "i")
> -                  (match_operand:P 4 "register_operand" "0")] UNSPEC_SCAS))
> -   (clobber (match_operand:P 1 "register_operand" "=D"))
> -   (clobber (reg:CC FLAGS_REG))]
> -  "!(fixed_regs[AX_REG] || fixed_regs[CX_REG] || fixed_regs[DI_REG])
> -   && ix86_check_no_addr_space (insn)"
> -  "%^repnz{%;} scasb"
> -  [(set_attr "type" "str")
> -   (set_attr "mode" "QI")
> -   (set (attr "prefix_rex")
> -       (if_then_else
> -         (match_test "<P:MODE>mode == DImode")
> -         (const_string "0")
> -         (const_string "*")))
> -   (set_attr "prefix_rep" "1")])
> -
>  ;; Peephole optimizations to clean up after cmpstrn*.  This should be
>  ;; handled in combine, but it is not currently up to the task.
>  ;; When used for their truth value, the cmpstrn* expanders generate
> diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md
> index 2718232caf0..ee4b120dfc0 100644
> --- a/gcc/config/i386/predicates.md
> +++ b/gcc/config/i386/predicates.md
> @@ -466,14 +466,6 @@ (define_predicate "x86_64_dwzext_immediate_operand"
>      }
>  })
>
> -;; Return true if size of VALUE can be stored in a sign
> -;; extended immediate field.
> -(define_predicate "x86_64_immediate_size_operand"
> -  (and (match_code "symbol_ref")
> -       (ior (not (match_test "TARGET_64BIT"))
> -           (match_test "ix86_cmodel == CM_SMALL")
> -           (match_test "ix86_cmodel == CM_KERNEL"))))
> -
>  ;; Return true if OP is general operand representable on x86_64.
>  (define_predicate "x86_64_general_operand"
>    (if_then_else (match_test "TARGET_64BIT")
> @@ -882,14 +874,6 @@ (define_predicate "const123_operand"
>    return i == 1 || i == 2 || i == 3;
>  })
>
> -;; Match 2, 3, 6, or 7
> -(define_predicate "const2367_operand"
> -  (match_code "const_int")
> -{
> -  HOST_WIDE_INT i = INTVAL (op);
> -  return i == 2 || i == 3 || i == 6 || i == 7;
> -})
> -
>  ;; Match 1, 2, 4, or 8
>  (define_predicate "const1248_operand"
>    (match_code "const_int")
> @@ -933,16 +917,6 @@ (define_predicate "const_0_to_3_operand"
>    (and (match_code "const_int")
>         (match_test "IN_RANGE (INTVAL (op), 0, 3)")))
>
> -;; Match 0 to 4.
> -(define_predicate "const_0_to_4_operand"
> -  (and (match_code "const_int")
> -       (match_test "IN_RANGE (INTVAL (op), 0, 4)")))
> -
> -;; Match 0 to 5.
> -(define_predicate "const_0_to_5_operand"
> -  (and (match_code "const_int")
> -       (match_test "IN_RANGE (INTVAL (op), 0, 5)")))
> -
>  ;; Match 0 to 7.
>  (define_predicate "const_0_to_7_operand"
>    (and (match_code "const_int")
> diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
> index 8b45f6dbbcd..78d01316f68 100644
> --- a/gcc/config/i386/sse.md
> +++ b/gcc/config/i386/sse.md
> @@ -414,11 +414,6 @@ (define_mode_iterator V_128_256
>    [V32QI V16QI V16HI V8HI V8SI V4SI V4DI V2DI V2TI V1TI
>     V16HF V8HF V8SF V4SF V4DF V2DF])
>
> -;; All 512bit vector modes
> -(define_mode_iterator V_512
> -  [V64QI V32HI V16SI V8DI
> -   V16SF V8DF V32HF V32BF])
> -
>  ;; All 256bit and 512bit vector modes
>  (define_mode_iterator V_256_512
>    [V32QI V16HI V16HF V16BF V8SI V4DI V8SF V4DF
> @@ -493,9 +488,6 @@ (define_mode_iterator VF1_AVX2
>  (define_mode_iterator VF1_128_256
>    [(V8SF "TARGET_AVX") V4SF])
>
> -(define_mode_iterator VF1_128_256VL
> -  [V8SF (V4SF "TARGET_AVX512VL")])
> -
>  ;; All DFmode vector float modes
>  (define_mode_iterator VF2
>    [(V8DF "TARGET_AVX512F") (V4DF "TARGET_AVX") V2DF])
> @@ -508,10 +500,6 @@ (define_mode_iterator VF2HB
>     (V8HF "TARGET_AVX512FP16 && TARGET_AVX512VL")
>     (V8DF "TARGET_AVX512F") (V4DF "TARGET_AVX") V2DF])
>
> -;; 128- and 256-bit DF vector modes
> -(define_mode_iterator VF2_128_256
> -  [(V4DF "TARGET_AVX") V2DF])
> -
>  (define_mode_iterator VF2_512_256
>    [(V8DF "TARGET_AVX512F") V4DF])
>
> @@ -679,16 +667,10 @@ (define_mode_iterator VI1_AVX512
>  (define_mode_iterator VI1_AVX512F
>    [(V64QI "TARGET_AVX512F") (V32QI "TARGET_AVX") V16QI])
>
> -(define_mode_iterator VI1_AVX512VNNI
> -  [(V64QI "TARGET_AVX512VNNI") (V32QI "TARGET_AVX2") V16QI])
> -
>  (define_mode_iterator VI12_256_512_AVX512VL
>    [V64QI (V32QI "TARGET_AVX512VL")
>     V32HI (V16HI "TARGET_AVX512VL")])
>
> -(define_mode_iterator VI2_AVX2
> -  [(V16HI "TARGET_AVX2") V8HI])
> -
>  (define_mode_iterator VI2_AVX2_AVX512BW
>    [(V32HI "TARGET_AVX512BW") (V16HI "TARGET_AVX2") V8HI])
>
> @@ -809,10 +791,6 @@ (define_mode_iterator VI248_AVX512VLBW
>     V16SI (V8SI "TARGET_AVX512VL") (V4SI "TARGET_AVX512VL")
>     V8DI (V4DI "TARGET_AVX512VL") (V2DI "TARGET_AVX512VL")])
>
> -(define_mode_iterator VI48_AVX2
> -  [(V8SI "TARGET_AVX2") V4SI
> -   (V4DI "TARGET_AVX2") V2DI])
> -
>  (define_mode_iterator VI248_AVX2
>    [(V16HI "TARGET_AVX2") V8HI
>     (V8SI "TARGET_AVX2") V4SI
> @@ -916,12 +894,6 @@ (define_mode_attr avx_avx2
>     (V4SI "avx2") (V2DI "avx2")
>     (V8SI "avx2") (V4DI "avx2")])
>
> -(define_mode_attr vec_avx2
> -  [(V16QI "vec") (V32QI "avx2")
> -   (V8HI "vec") (V16HI "avx2")
> -   (V4SI "vec") (V8SI "avx2")
> -   (V2DI "vec") (V4DI "avx2")])
> -
>  (define_mode_attr avx2_avx512
>    [(V4SI "avx2") (V8SI "avx2") (V16SI "avx512f")
>     (V2DI "avx2") (V4DI "avx2") (V8DI "avx512f")
> @@ -1009,7 +981,6 @@ (define_mode_iterator VI124_256_AVX512F_AVX512BW
>  (define_mode_iterator VI48_256 [V8SI V4DI])
>  (define_mode_iterator VI48_512
>    [V16SI V8DI])
> -(define_mode_iterator VI4_256_8_512 [V8SI V8DI])
>  (define_mode_iterator VI_AVX512BW
>    [V16SI V8DI
>     (V32HI "TARGET_AVX512BW") (V64QI "TARGET_AVX512BW")])
> @@ -10245,15 +10216,6 @@ (define_insn "avx_cvtpd2dq256<mask_name>"
>     (set_attr "prefix" "<mask_prefix>")
>     (set_attr "mode" "OI")])
>
> -(define_expand "avx_cvtpd2dq256_2"
> -  [(set (match_operand:V8SI 0 "register_operand")
> -       (vec_concat:V8SI
> -         (unspec:V4SI [(match_operand:V4DF 1 "nonimmediate_operand")]
> -                      UNSPEC_FIX_NOTRUNC)
> -         (match_dup 2)))]
> -  "TARGET_AVX"
> -  "operands[2] = CONST0_RTX (V4SImode);")
> -
>  (define_insn "*avx_cvtpd2dq256_2"
>    [(set (match_operand:V8SI 0 "register_operand" "=v")
>         (vec_concat:V8SI
> @@ -10747,14 +10709,6 @@ (define_insn 
> "<mask_codefor>fixuns_trunc<mode><sseintvecmodelower>2<mask_name>"
>     (set_attr "prefix" "evex")
>     (set_attr "mode" "<sseintvecmode2>")])
>
> -(define_expand "avx_cvttpd2dq256_2"
> -  [(set (match_operand:V8SI 0 "register_operand")
> -       (vec_concat:V8SI
> -         (fix:V4SI (match_operand:V4DF 1 "nonimmediate_operand"))
> -         (match_dup 2)))]
> -  "TARGET_AVX"
> -  "operands[2] = CONST0_RTX (V4SImode);")
> -
>  (define_insn "unspec_sse2_cvttpd2dq<mask_name>"
>    [(set (match_operand:V4SI 0 "register_operand" "=v")
>         (unspec:V4SI
> @@ -29275,25 +29229,6 @@ (define_insn "avx2_perm<mode>_1<mask_name>"
>     (set_attr "prefix" "<mask_prefix2>")
>     (set_attr "mode" "<sseinsnmode>")])
>
> -(define_expand "avx512f_perm<mode>"
> -  [(match_operand:V8FI 0 "register_operand")
> -   (match_operand:V8FI 1 "nonimmediate_operand")
> -   (match_operand:SI 2 "const_0_to_255_operand")]
> -  "TARGET_AVX512F"
> -{
> -  int mask = INTVAL (operands[2]);
> -  emit_insn (gen_avx512f_perm<mode>_1 (operands[0], operands[1],
> -                                      GEN_INT ((mask >> 0) & 3),
> -                                      GEN_INT ((mask >> 2) & 3),
> -                                      GEN_INT ((mask >> 4) & 3),
> -                                      GEN_INT ((mask >> 6) & 3),
> -                                      GEN_INT (((mask >> 0) & 3) + 4),
> -                                      GEN_INT (((mask >> 2) & 3) + 4),
> -                                      GEN_INT (((mask >> 4) & 3) + 4),
> -                                      GEN_INT (((mask >> 6) & 3) + 4)));
> -  DONE;
> -})
> -
>  (define_expand "avx512f_perm<mode>_mask"
>    [(match_operand:V8FI 0 "register_operand")
>     (match_operand:V8FI 1 "nonimmediate_operand")
> @@ -33694,16 +33629,6 @@ (define_int_attr convertph2fp8
>      (UNSPEC_VCVTPH2HF8 "ph2hf8")
>      (UNSPEC_VCVTPH2HF8S "ph2hf8s")])
>
> -(define_expand "vcvt<convertph2fp8>v8hf"
> -  [(set (match_operand:V16QI 0 "register_operand")
> -       (vec_concat:V16QI
> -         (unspec:V8QI
> -           [(match_operand:V8HF 1 "nonimmediate_operand")]
> -             UNSPEC_CONVERTPH2FP8)
> -         (match_dup 2)))]
> -  "TARGET_AVX10V1AUX"
> -  "operands[2] = CONST0_RTX (V8QImode);")
> -
>  (define_insn "*vcvt<convertph2fp8>v8hf"
>    [(set (match_operand:V16QI 0 "register_operand" "=v")
>         (vec_concat:V16QI
> @@ -34626,16 +34551,6 @@ (define_int_attr convertps2fp8
>     (UNSPEC_VCVTROPS2HF8 "rops2hf8")
>     (UNSPEC_VCVTROPS2HF8S "rops2hf8s")])
>
> -(define_expand "vcvt<convertps2fp8>v4sf"
> -  [(set (match_operand:V16QI 0 "register_operand")
> -       (vec_concat:V16QI
> -         (unspec:V4QI
> -           [(match_operand:V4SF 1 "nonimmediate_operand")]
> -           UNSPEC_CONVERTPS2FP8)
> -         (match_dup 2)))]
> -  "TARGET_AVX10V2AUX"
> -  "operands[2] = CONST0_RTX (V12QImode);")
> -
>  (define_insn "*vcvt<convertps2fp8>v4sf"
>    [(set (match_operand:V16QI 0 "register_operand" "=v")
>         (vec_concat:V16QI
> @@ -34648,16 +34563,6 @@ (define_insn "*vcvt<convertps2fp8>v4sf"
>    [(set_attr "prefix" "evex")
>     (set_attr "mode" "V4SF")])
>
> -(define_expand "vcvt<convertps2fp8>v8sf"
> -  [(set (match_operand:V16QI 0 "register_operand")
> -       (vec_concat:V16QI
> -         (unspec:V8QI
> -           [(match_operand:V8SF 1 "nonimmediate_operand")]
> -           UNSPEC_CONVERTPS2FP8)
> -         (match_dup 2)))]
> -  "TARGET_AVX10V2AUX"
> -  "operands[2] = CONST0_RTX (V8QImode);")
> -
>  (define_insn "*vcvt<convertps2fp8>v8sf"
>    [(set (match_operand:V16QI 0 "register_operand" "=v")
>         (vec_concat:V16QI
> @@ -34765,17 +34670,6 @@ (define_int_attr biasps2fp8
>     (UNSPEC_VCVTBIASPS2HF8 "biasps2hf8")
>     (UNSPEC_VCVTBIASPS2HF8S "biasps2hf8s")])
>
> -(define_expand "vcvt<biasps2fp8>v4sf"
> -  [(set (match_operand:V16QI 0 "register_operand")
> -       (vec_concat:V16QI
> -         (unspec:V4QI
> -           [(match_operand:V4SI 1 "register_operand")
> -            (match_operand:V4SF 2 "nonimmediate_operand")]
> -           UNSPEC_CONVERTBIASPS2FP8)
> -         (match_dup 3)))]
> -  "TARGET_AVX10V2AUX"
> -  "operands[3] = CONST0_RTX (V12QImode);")
> -
>  (define_insn "*vcvt<biasps2fp8>v4sf"
>    [(set (match_operand:V16QI 0 "register_operand" "=v")
>         (vec_concat:V16QI
> @@ -34789,17 +34683,6 @@ (define_insn "*vcvt<biasps2fp8>v4sf"
>    [(set_attr "prefix" "evex")
>     (set_attr "mode" "V4SF")])
>
> -(define_expand "vcvt<biasps2fp8>v8sf"
> -  [(set (match_operand:V16QI 0 "register_operand")
> -       (vec_concat:V16QI
> -         (unspec:V8QI
> -           [(match_operand:V8SI 1 "register_operand")
> -            (match_operand:V8SF 2 "nonimmediate_operand")]
> -           UNSPEC_CONVERTBIASPS2FP8)
> -         (match_dup 3)))]
> -  "TARGET_AVX10V2AUX"
> -  "operands[3] = CONST0_RTX (V8QImode);")
> -
>  (define_insn "*vcvt<biasps2fp8>v8sf"
>    [(set (match_operand:V16QI 0 "register_operand" "=v")
>         (vec_concat:V16QI
> @@ -35037,16 +34920,6 @@ (define_mode_attr pmovss_mem_dest
>  (define_mode_attr pmovss_sel_vec
>    [(V4SI "V4SI") (V8SI "V2DI")])
>
> -(define_expand "avx10v2aux_sym_truncatev4siv4qi2"
> -  [(set (match_operand:V16QI 0 "nonimmediate_operand")
> -       (vec_concat:V16QI
> -         (unspec:V4QI
> -           [(match_operand:V4SI 1 "register_operand")]
> -           UNSPEC_VPMOVSSDB)
> -         (match_dup 2)))]
> -  "TARGET_AVX10V2AUX"
> -  "operands[2] = CONST0_RTX (V12QImode);")
> -
>  (define_insn "*avx10v2aux_sym_truncatev4siv4qi2"
>    [(set (match_operand:V16QI 0 "register_operand" "=v")
>         (vec_concat:V16QI
> @@ -35060,16 +34933,6 @@ (define_insn "*avx10v2aux_sym_truncatev4siv4qi2"
>     (set_attr "prefix" "evex")
>     (set_attr "mode" "TI")])
>
> -(define_expand "avx10v2aux_sym_truncatev8siv8qi2"
> -  [(set (match_operand:V16QI 0 "nonimmediate_operand")
> -       (vec_concat:V16QI
> -         (unspec:V8QI
> -           [(match_operand:V8SI 1 "register_operand")]
> -           UNSPEC_VPMOVSSDB)
> -         (match_dup 2)))]
> -  "TARGET_AVX10V2AUX"
> -  "operands[2] = CONST0_RTX (V8QImode);")
> -
>  (define_insn "*avx10v2aux_sym_truncatev8siv8qi2"
>    [(set (match_operand:V16QI 0 "register_operand" "=v")
>         (vec_concat:V16QI
> diff --git a/gcc/config/i386/subst.md b/gcc/config/i386/subst.md
> index f917898e4ad..4f19d80b824 100644
> --- a/gcc/config/i386/subst.md
> +++ b/gcc/config/i386/subst.md
> @@ -69,7 +69,6 @@ (define_subst_attr "mask_prefix" "mask" "vex" "evex")
>  (define_subst_attr "mask_prefix2" "mask" "maybe_vex" "evex")
>  (define_subst_attr "mask_prefix3" "mask" "orig,vex" "evex,evex")
>  (define_subst_attr "bcst_mask_prefix3" "mask" "orig,maybe_evex" "evex,evex")
> -(define_subst_attr "mask_prefix4" "mask" "orig,orig,vex" "evex,evex,evex")
>  (define_subst_attr "bcst_mask_prefix4" "mask" "orig,orig,maybe_evex" 
> "evex,evex,evex")
>  (define_subst_attr "mask_expand_op3" "mask" "3" "5")
>  (define_subst_attr "mask3_dest_false_dep_for_glc_cond" "mask" "1" 
> "operands[3] == CONST0_RTX(<MODE>mode)")
> @@ -162,7 +161,6 @@ (define_subst "maskz_scalar"
>           (const_int 1)))])
>  (define_subst_attr "sdc_maskz_name" "sdc" "" "_maskz_1")
>  (define_subst_attr "sdc_mask_op4" "sdc" "" "%{%5%}%N4")
> -(define_subst_attr "sdc_mask_op5" "sdc" "" "%{%6%}%N5")
>  (define_subst_attr "sdc_mask_mode512bit_condition" "sdc" "1" "(<MODE_SIZE> 
> == 64 || TARGET_AVX512VL)")
>
>  (define_subst "sdc"
> @@ -182,7 +180,6 @@ (define_subst_attr "round_name" "round" "" "_round")
>  (define_subst_attr "round_mask_operand2" "mask" "%R2" "%R4")
>  (define_subst_attr "round_mask_operand3" "mask" "%R3" "%R5")
>  (define_subst_attr "round_maskc_operand3" "maskc" "%R3" "%R5")
> -(define_subst_attr "round_mask_operand4" "mask" "%R4" "%R6")
>  (define_subst_attr "round_sd_mask_operand4" "sd" "%R4" "%R6")
>  (define_subst_attr "round_sdc_mask_operand4" "sdc" "%R4" "%R6")
>  (define_subst_attr "round_op2" "round" "" "%R2")
> @@ -193,7 +190,6 @@ (define_subst_attr "round_op6" "round" "" "%R6")
>  (define_subst_attr "round_mask_op2" "round" "" "<round_mask_operand2>")
>  (define_subst_attr "round_mask_op3" "round" "" "<round_mask_operand3>")
>  (define_subst_attr "round_maskc_op3" "round" "" "<round_maskc_operand3>")
> -(define_subst_attr "round_mask_op4" "round" "" "<round_mask_operand4>")
>  (define_subst_attr "round_sd_mask_op4" "round" "" "<round_sd_mask_operand4>")
>  (define_subst_attr "round_sdc_mask_op4" "round" "" 
> "<round_sdc_mask_operand4>")
>  (define_subst_attr "round_constraint" "round" "vm" "v")
> @@ -212,8 +208,6 @@ (define_subst_attr "round_mode512bit_condition" "round" 
> "1" "(<MODE>mode == V16S
>                                                               || <MODE>mode 
> == V32HFmode)")
>
>  (define_subst_attr "round_modev4sf_condition" "round" "1" "(<MODE>mode == 
> V4SFmode)")
> -(define_subst_attr "round_codefor" "round" "*" "")
> -(define_subst_attr "round_opnum" "round" "5" "6")
>
>  (define_subst "round"
>    [(set (match_operand:SUBST_A 0)
> @@ -232,9 +226,7 @@ (define_subst_attr "round_saeonly_mask_operand4" "mask" 
> "%r4" "%r6")
>  (define_subst_attr "round_saeonly_mask_scalar_merge_operand4" 
> "mask_scalar_merge" "%r4" "%r5")
>  (define_subst_attr "round_saeonly_maskz_scalar_operand5" "maskz_scalar" 
> "%r5" "%r7")
>  (define_subst_attr "round_saeonly_sd_mask_operand5" "sd" "%r5" "%r7")
> -(define_subst_attr "round_saeonly_sdc_mask_operand5" "sdc" "%r5" "%r7")
>  (define_subst_attr "round_saeonly_op2" "round_saeonly" "" "%r2")
> -(define_subst_attr "round_saeonly_op3" "round_saeonly" "" "%r3")
>  (define_subst_attr "round_saeonly_op4" "round_saeonly" "" "%r4")
>  (define_subst_attr "round_saeonly_op5" "round_saeonly" "" "%r5")
>  (define_subst_attr "round_saeonly_op6" "round_saeonly" "" "%r6")
> --
> 2.34.1
>

Reply via email to