Lines Matching refs:major

65   CGEN_ATTR_VALUE_ENUM_TYPE   major[FRV_VLIW_SIZE];
87 /* Returns TRUE if {MAJOR,MACH} is a major branch of the FRV
91 frv_is_branch_major (CGEN_ATTR_VALUE_ENUM_TYPE major, unsigned long mach)
96 if (major >= FR400_MAJOR_B_1 && major <= FR400_MAJOR_B_6)
100 if (major >= FR450_MAJOR_B_1 && major <= FR450_MAJOR_B_6)
104 if (major >= FR500_MAJOR_B_1 && major <= FR500_MAJOR_B_6)
115 frv_is_float_major (CGEN_ATTR_VALUE_ENUM_TYPE major, unsigned long mach)
123 if (major >= FR500_MAJOR_F_1 && major <= FR500_MAJOR_F_8)
134 frv_is_media_major (CGEN_ATTR_VALUE_ENUM_TYPE major, unsigned long mach)
139 if (major >= FR400_MAJOR_M_1 && major <= FR400_MAJOR_M_2)
143 if (major >= FR450_MAJOR_M_1 && major <= FR450_MAJOR_M_6)
147 if (major >= FR500_MAJOR_M_1 && major <= FR500_MAJOR_M_8)
522 /* Look for the given major insn type in the given vliw.
526 find_major_in_vliw (FRV_VLIW *vliw, CGEN_ATTR_VALUE_ENUM_TYPE major)
531 if (vliw->major[i] == major)
537 /* Check for constraints between the insns in the vliw due to major insn
541 fr400_check_insn_major_constraints (FRV_VLIW *vliw, CGEN_ATTR_VALUE_ENUM_TYPE major)
545 Catch the invalid combinations here. Insns of major class FR400_MAJOR_M_2
547 switch (major)
561 fr450_check_insn_major_constraints (FRV_VLIW *vliw, CGEN_ATTR_VALUE_ENUM_TYPE major)
570 if (major == FR450_MAJOR_M_5 || major == FR450_MAJOR_M_6)
575 switch (major)
609 CGEN_ATTR_VALUE_ENUM_TYPE major,
615 if (vliw->major[i] == major && (*vliw->current_vliw)[i] == slot)
628 if (vliw->major[i] < FR550_MAJOR_M_1 || vliw->major[i] > FR550_MAJOR_M_5)
650 if (vliw->major[i] < FR550_MAJOR_F_1 || vliw->major[i] > FR550_MAJOR_F_4)
665 CGEN_ATTR_VALUE_ENUM_TYPE major,
682 if (major >= FR550_MAJOR_F_1 && major <= FR550_MAJOR_F_4
687 if (major >= FR550_MAJOR_M_1 && major <= FR550_MAJOR_M_5
692 if (major == FR550_MAJOR_F_2)
699 if (major == FR550_MAJOR_M_2 || major == FR550_MAJOR_M_5)
704 if (major == FR550_MAJOR_M_4)
715 fr500_check_insn_major_constraints (FRV_VLIW *vliw, CGEN_ATTR_VALUE_ENUM_TYPE major)
719 switch (major)
813 fprintf (stderr, "frv-opc.c, line %d: bad major code, aborting.\n",
823 CGEN_ATTR_VALUE_ENUM_TYPE major,
829 return fr400_check_insn_major_constraints (vliw, major);
832 return fr450_check_insn_major_constraints (vliw, major);
835 return fr550_check_insn_major_constraints (vliw, major, insn);
838 return fr500_check_insn_major_constraints (vliw, major);
849 CGEN_ATTR_VALUE_ENUM_TYPE major;
871 major = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_FR400_MAJOR);
874 major = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_FR450_MAJOR);
877 major = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_FR550_MAJOR);
880 major = CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_FR500_MAJOR);
889 vliw->major[0] = major;
901 if (new_vliw && check_insn_major_constraints (vliw, major, insn))
904 vliw->major[slot_index] = major;