]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/aarch64/aarch64-simd.md
gcc/ada/
[thirdparty/gcc.git] / gcc / config / aarch64 / aarch64-simd.md
index 578760a4b3ce002b982f1704e2e72b12b2e88957..ef196e4b6fb39c0d2fd9ebfee76abab8369b1e92 100644 (file)
     if (GP_REGNUM_P (REGNO (operands[0]))
        && GP_REGNUM_P (REGNO (operands[1])))
       {
-       enum machine_mode mode = SELECT_CC_MODE (<CMP>, operands[1], operands[2]);
+       machine_mode mode = SELECT_CC_MODE (<CMP>, operands[1], operands[2]);
        rtx cc_reg = aarch64_gen_compare_reg (<CMP>, operands[1], operands[2]);
        rtx comparison = gen_rtx_<CMP> (mode, operands[1], operands[2]);
        emit_insn (gen_cstoredi_neg (operands[0], comparison, cc_reg));
     if (GP_REGNUM_P (REGNO (operands[0]))
        && GP_REGNUM_P (REGNO (operands[1])))
       {
-       enum machine_mode mode = CCmode;
+       machine_mode mode = CCmode;
        rtx cc_reg = aarch64_gen_compare_reg (<CMP>, operands[1], operands[2]);
        rtx comparison = gen_rtx_<CMP> (mode, operands[1], operands[2]);
        emit_insn (gen_cstoredi_neg (operands[0], comparison, cc_reg));
        && GP_REGNUM_P (REGNO (operands[1])))
       {
        rtx and_tree = gen_rtx_AND (DImode, operands[1], operands[2]);
-       enum machine_mode mode = SELECT_CC_MODE (NE, and_tree, const0_rtx);
+       machine_mode mode = SELECT_CC_MODE (NE, and_tree, const0_rtx);
        rtx cc_reg = aarch64_gen_compare_reg (NE, and_tree, const0_rtx);
        rtx comparison = gen_rtx_NE (mode, and_tree, const0_rtx);
        emit_insn (gen_cstoredi_neg (operands[0], comparison, cc_reg));
    (unspec:VALLDIF [(const_int 0)] UNSPEC_VSTRUCTDUMMY)]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <V_TWO_ELEM>mode;
+  machine_mode mode = <V_TWO_ELEM>mode;
   rtx mem = gen_rtx_MEM (mode, operands[1]);
 
   emit_insn (gen_aarch64_simd_ld2r<mode> (operands[0], mem));
    (unspec:VALLDIF [(const_int 0)] UNSPEC_VSTRUCTDUMMY)]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <V_THREE_ELEM>mode;
+  machine_mode mode = <V_THREE_ELEM>mode;
   rtx mem = gen_rtx_MEM (mode, operands[1]);
 
   emit_insn (gen_aarch64_simd_ld3r<mode> (operands[0], mem));
    (unspec:VALLDIF [(const_int 0)] UNSPEC_VSTRUCTDUMMY)]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <V_FOUR_ELEM>mode;
+  machine_mode mode = <V_FOUR_ELEM>mode;
   rtx mem = gen_rtx_MEM (mode, operands[1]);
 
   emit_insn (gen_aarch64_simd_ld4r<mode> (operands[0],mem));
   (unspec:VDC [(const_int 0)] UNSPEC_VSTRUCTDUMMY)]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <VSTRUCT:VSTRUCT_DREG>mode;
+  machine_mode mode = <VSTRUCT:VSTRUCT_DREG>mode;
   rtx mem = gen_rtx_MEM (mode, operands[1]);
 
   emit_insn (gen_aarch64_ld<VSTRUCT:nregs><VDC:mode>_dreg (operands[0], mem));
   (match_operand:DI 1 "register_operand")]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <VALL:MODE>mode;
+  machine_mode mode = <VALL:MODE>mode;
   rtx mem = gen_rtx_MEM (mode, operands[1]);
 
   if (BYTES_BIG_ENDIAN)
   (unspec:VQ [(const_int 0)] UNSPEC_VSTRUCTDUMMY)]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <VSTRUCT:MODE>mode;
+  machine_mode mode = <VSTRUCT:MODE>mode;
   rtx mem = gen_rtx_MEM (mode, operands[1]);
 
   emit_insn (gen_vec_load_lanes<VSTRUCT:mode><VQ:mode> (operands[0], mem));
        (unspec:VQ [(const_int 0)] UNSPEC_VSTRUCTDUMMY)]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <V_TWO_ELEM>mode;
+  machine_mode mode = <V_TWO_ELEM>mode;
   rtx mem = gen_rtx_MEM (mode, operands[1]);
 
   aarch64_simd_lane_bounds (operands[3], 0, GET_MODE_NUNITS (<VCONQ>mode));
        (unspec:VQ [(const_int 0)] UNSPEC_VSTRUCTDUMMY)]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <V_THREE_ELEM>mode;
+  machine_mode mode = <V_THREE_ELEM>mode;
   rtx mem = gen_rtx_MEM (mode, operands[1]);
 
   aarch64_simd_lane_bounds (operands[3], 0, GET_MODE_NUNITS (<VCONQ>mode));
        (unspec:VQ [(const_int 0)] UNSPEC_VSTRUCTDUMMY)]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <V_FOUR_ELEM>mode;
+  machine_mode mode = <V_FOUR_ELEM>mode;
   rtx mem = gen_rtx_MEM (mode, operands[1]);
 
   aarch64_simd_lane_bounds (operands[3], 0, GET_MODE_NUNITS (<VCONQ>mode));
   (unspec:VDC [(const_int 0)] UNSPEC_VSTRUCTDUMMY)]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <VSTRUCT:VSTRUCT_DREG>mode;
+  machine_mode mode = <VSTRUCT:VSTRUCT_DREG>mode;
   rtx mem = gen_rtx_MEM (mode, operands[0]);
 
   emit_insn (gen_aarch64_st<VSTRUCT:nregs><VDC:mode>_dreg (mem, operands[1]));
   (unspec:VQ [(const_int 0)] UNSPEC_VSTRUCTDUMMY)]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <VSTRUCT:MODE>mode;
+  machine_mode mode = <VSTRUCT:MODE>mode;
   rtx mem = gen_rtx_MEM (mode, operands[0]);
 
   emit_insn (gen_vec_store_lanes<VSTRUCT:mode><VQ:mode> (mem, operands[1]));
   (match_operand:SI 2 "immediate_operand")]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <V_TWO_ELEM>mode;
+  machine_mode mode = <V_TWO_ELEM>mode;
   rtx mem = gen_rtx_MEM (mode, operands[0]);
   operands[2] = GEN_INT (ENDIAN_LANE_N (<MODE>mode, INTVAL (operands[2])));
 
   (match_operand:SI 2 "immediate_operand")]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <V_THREE_ELEM>mode;
+  machine_mode mode = <V_THREE_ELEM>mode;
   rtx mem = gen_rtx_MEM (mode, operands[0]);
   operands[2] = GEN_INT (ENDIAN_LANE_N (<MODE>mode, INTVAL (operands[2])));
 
   (match_operand:SI 2 "immediate_operand")]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <V_FOUR_ELEM>mode;
+  machine_mode mode = <V_FOUR_ELEM>mode;
   rtx mem = gen_rtx_MEM (mode, operands[0]);
   operands[2] = GEN_INT (ENDIAN_LANE_N (<MODE>mode, INTVAL (operands[2])));
 
   (match_operand:VALL 1 "register_operand")]
   "TARGET_SIMD"
 {
-  enum machine_mode mode = <VALL:MODE>mode;
+  machine_mode mode = <VALL:MODE>mode;
   rtx mem = gen_rtx_MEM (mode, operands[0]);
 
   if (BYTES_BIG_ENDIAN)