Lines Matching refs:fields
45 #define FLD(f) (fields->f)
243 CGEN_FIELDS * fields,
260 CGEN_FIELDS_BITSIZE (fields), value);
265 (unsigned) CGEN_FIELDS_BITSIZE (fields)),
270 /* ??? It would be better to scan the format's fields.
283 fields, buffer, pc);
501 The extracted fields are stored in FIELDS.
512 CGEN_FIELDS *fields,
518 CGEN_FIELDS_BITSIZE (fields) = CGEN_INSN_BITSIZE (insn);
530 ex_info, insn_value, fields, pc);
562 CGEN_FIELDS * fields,
567 unsigned int total_length = CGEN_FIELDS_BITSIZE (fields);
572 errmsg = insert_normal (cd, fields->f_CRi, 0, 16, 12, 4, 16, total_length, buffer);
575 errmsg = insert_normal (cd, fields->f_CRj, 0, 16, 8, 4, 16, total_length, buffer);
584 errmsg = insert_normal (cd, fields->f_Ri, 0, 0, 12, 4, 16, total_length, buffer);
587 errmsg = insert_normal (cd, fields->f_Ric, 0, 16, 12, 4, 16, total_length, buffer);
590 errmsg = insert_normal (cd, fields->f_Rj, 0, 0, 8, 4, 16, total_length, buffer);
593 errmsg = insert_normal (cd, fields->f_Rjc, 0, 16, 8, 4, 16, total_length, buffer);
596 errmsg = insert_normal (cd, fields->f_Rs1, 0, 0, 8, 4, 16, total_length, buffer);
599 errmsg = insert_normal (cd, fields->f_Rs2, 0, 0, 12, 4, 16, total_length, buffer);
602 errmsg = insert_normal (cd, fields->f_cc, 0, 0, 4, 4, 16, total_length, buffer);
605 errmsg = insert_normal (cd, fields->f_ccc, 0, 16, 0, 8, 16, total_length, buffer);
609 long value = fields->f_dir10;
615 errmsg = insert_normal (cd, fields->f_dir8, 0, 0, 8, 8, 16, total_length, buffer);
619 long value = fields->f_dir9;
626 long value = fields->f_disp10;
632 errmsg = insert_normal (cd, fields->f_disp8, 0|(1<<CGEN_IFLD_SIGNED), 0, 4, 8, 16, total_length, buffer);
636 long value = fields->f_disp9;
647 errmsg = insert_normal (cd, fields->f_i20_4, 0, 0, 8, 4, 16, total_length, buffer);
650 errmsg = insert_normal (cd, fields->f_i20_16, 0, 16, 0, 16, 16, total_length, buffer);
656 errmsg = insert_normal (cd, fields->f_i32, 0|(1<<CGEN_IFLD_SIGN_OPT), 16, 0, 32, 32, total_length, buffer);
659 errmsg = insert_normal (cd, fields->f_i8, 0, 0, 4, 8, 16, total_length, buffer);
663 long value = fields->f_rel12;
670 long value = fields->f_rel9;
677 long value = fields->f_m4;
685 errmsg = insert_normal (cd, fields->f_reglist_hi_ld, 0, 0, 8, 8, 16, total_length, buffer);
688 errmsg = insert_normal (cd, fields->f_reglist_hi_st, 0, 0, 8, 8, 16, total_length, buffer);
691 errmsg = insert_normal (cd, fields->f_reglist_low_ld, 0, 0, 8, 8, 16, total_length, buffer);
694 errmsg = insert_normal (cd, fields->f_reglist_low_st, 0, 0, 8, 8, 16, total_length, buffer);
698 long value = fields->f_s10;
705 long value = fields->f_u10;
711 errmsg = insert_normal (cd, fields->f_u4, 0, 0, 8, 4, 16, total_length, buffer);
714 errmsg = insert_normal (cd, fields->f_u4c, 0, 0, 12, 4, 16, total_length, buffer);
717 errmsg = insert_normal (cd, fields->f_u8, 0, 0, 8, 8, 16, total_length, buffer);
721 long value = fields->f_udisp6;
760 CGEN_FIELDS * fields,
765 unsigned int total_length = CGEN_FIELDS_BITSIZE (fields);
770 length = extract_normal (cd, ex_info, insn_value, 0, 16, 12, 4, 16, total_length, pc, & fields->f_CRi);
773 length = extract_normal (cd, ex_info, insn_value, 0, 16, 8, 4, 16, total_length, pc, & fields->f_CRj);
782 length = extract_normal (cd, ex_info, insn_value, 0, 0, 12, 4, 16, total_length, pc, & fields->f_Ri);
785 length = extract_normal (cd, ex_info, insn_value, 0, 16, 12, 4, 16, total_length, pc, & fields->f_Ric);
788 length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 16, total_length, pc, & fields->f_Rj);
791 length = extract_normal (cd, ex_info, insn_value, 0, 16, 8, 4, 16, total_length, pc, & fields->f_Rjc);
794 length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 16, total_length, pc, & fields->f_Rs1);
797 length = extract_normal (cd, ex_info, insn_value, 0, 0, 12, 4, 16, total_length, pc, & fields->f_Rs2);
800 length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 4, 16, total_length, pc, & fields->f_cc);
803 length = extract_normal (cd, ex_info, insn_value, 0, 16, 0, 8, 16, total_length, pc, & fields->f_ccc);
810 fields->f_dir10 = value;
814 length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 8, 16, total_length, pc, & fields->f_dir8);
821 fields->f_dir9 = value;
829 fields->f_disp10 = value;
833 length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGNED), 0, 4, 8, 16, total_length, pc, & fields->f_disp8);
840 fields->f_disp9 = value;
845 length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 16, total_length, pc, & fields->f_i20_4);
847 length = extract_normal (cd, ex_info, insn_value, 0, 16, 0, 16, 16, total_length, pc, & fields->f_i20_16);
855 length = extract_normal (cd, ex_info, insn_value, 0|(1<<CGEN_IFLD_SIGN_OPT), 16, 0, 32, 32, total_length, pc, & fields->f_i32);
858 length = extract_normal (cd, ex_info, insn_value, 0, 0, 4, 8, 16, total_length, pc, & fields->f_i8);
865 fields->f_rel12 = value;
873 fields->f_rel9 = value;
881 fields->f_m4 = value;
887 length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 8, 16, total_length, pc, & fields->f_reglist_hi_ld);
890 length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 8, 16, total_length, pc, & fields->f_reglist_hi_st);
893 length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 8, 16, total_length, pc, & fields->f_reglist_low_ld);
896 length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 8, 16, total_length, pc, & fields->f_reglist_low_st);
903 fields->f_s10 = value;
911 fields->f_u10 = value;
915 length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 16, total_length, pc, & fields->f_u4);
918 length = extract_normal (cd, ex_info, insn_value, 0, 0, 12, 4, 16, total_length, pc, & fields->f_u4c);
921 length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 8, 16, total_length, pc, & fields->f_u8);
928 fields->f_udisp6 = value;
963 const CGEN_FIELDS * fields)
970 value = fields->f_CRi;
973 value = fields->f_CRj;
985 value = fields->f_Ri;
988 value = fields->f_Ric;
991 value = fields->f_Rj;
994 value = fields->f_Rjc;
997 value = fields->f_Rs1;
1000 value = fields->f_Rs2;
1003 value = fields->f_cc;
1006 value = fields->f_ccc;
1009 value = fields->f_dir10;
1012 value = fields->f_dir8;
1015 value = fields->f_dir9;
1018 value = fields->f_disp10;
1021 value = fields->f_disp8;
1024 value = fields->f_disp9;
1027 value = fields->f_i20;
1030 value = fields->f_i32;
1033 value = fields->f_i8;
1036 value = fields->f_rel12;
1039 value = fields->f_rel9;
1042 value = fields->f_m4;
1048 value = fields->f_reglist_hi_ld;
1051 value = fields->f_reglist_hi_st;
1054 value = fields->f_reglist_low_ld;
1057 fields->f_reglist_low_st;
1060 value = fields->f_s10;
1063 value = fields->f_u10;
1066 value = fields->f_u4;
1069 value = fields->f_u4c;
1072 value = fields->f_u8;
1075 value = fields->f_udisp6;
1091 const CGEN_FIELDS * fields)
1098 value = fields->f_CRi;
1101 value = fields->f_CRj;
1113 value = fields->f_Ri;
1116 value = fields->f_Ric;
1119 value = fields->f_Rj;
1122 value = fields->f_Rjc;
1125 value = fields->f_Rs1;
1128 value = fields->f_Rs2;
1131 value = fields->f_cc;
1134 value = fields->f_ccc;
1137 value = fields->f_dir10;
1140 value = fields->f_dir8;
1143 value = fields->f_dir9;
1146 value = fields->f_disp10;
1149 value = fields->f_disp8;
1152 value = fields->f_disp9;
1155 value = fields->f_i20;
1158 value = fields->f_i32;
1161 value = fields->f_i8;
1164 value = fields->f_rel12;
1167 value = fields->f_rel9;
1170 value = fields->f_m4;
1176 value = fields->f_reglist_hi_ld;
1179 value = fields->f_reglist_hi_st;
1182 value = fields->f_reglist_low_ld;
1185 value = fields->f_reglist_low_st;
1188 value = fields->f_s10;
1191 value = fields->f_u10;
1194 value = fields->f_u4;
1197 value = fields->f_u4c;
1200 value = fields->f_u8;
1203 value = fields->f_udisp6;
1227 CGEN_FIELDS * fields,
1233 fields->f_CRi = value;
1236 fields->f_CRj = value;
1245 fields->f_Ri = value;
1248 fields->f_Ric = value;
1251 fields->f_Rj = value;
1254 fields->f_Rjc = value;
1257 fields->f_Rs1 = value;
1260 fields->f_Rs2 = value;
1263 fields->f_cc = value;
1266 fields->f_ccc = value;
1269 fields->f_dir10 = value;
1272 fields->f_dir8 = value;
1275 fields->f_dir9 = value;
1278 fields->f_disp10 = value;
1281 fields->f_disp8 = value;
1284 fields->f_disp9 = value;
1287 fields->f_i20 = value;
1290 fields->f_i32 = value;
1293 fields->f_i8 = value;
1296 fields->f_rel12 = value;
1299 fields->f_rel9 = value;
1302 fields->f_m4 = value;
1307 fields->f_reglist_hi_ld = value;
1310 fields->f_reglist_hi_st = value;
1313 fields->f_reglist_low_ld = value;
1316 fields->f_reglist_low_st = value;
1319 fields->f_s10 = value;
1322 fields->f_u10 = value;
1325 fields->f_u4 = value;
1328 fields->f_u4c = value;
1331 fields->f_u8 = value;
1334 fields->f_udisp6 = value;
1348 CGEN_FIELDS * fields,
1354 fields->f_CRi = value;
1357 fields->f_CRj = value;
1366 fields->f_Ri = value;
1369 fields->f_Ric = value;
1372 fields->f_Rj = value;
1375 fields->f_Rjc = value;
1378 fields->f_Rs1 = value;
1381 fields->f_Rs2 = value;
1384 fields->f_cc = value;
1387 fields->f_ccc = value;
1390 fields->f_dir10 = value;
1393 fields->f_dir8 = value;
1396 fields->f_dir9 = value;
1399 fields->f_disp10 = value;
1402 fields->f_disp8 = value;
1405 fields->f_disp9 = value;
1408 fields->f_i20 = value;
1411 fields->f_i32 = value;
1414 fields->f_i8 = value;
1417 fields->f_rel12 = value;
1420 fields->f_rel9 = value;
1423 fields->f_m4 = value;
1428 fields->f_reglist_hi_ld = value;
1431 fields->f_reglist_hi_st = value;
1434 fields->f_reglist_low_ld = value;
1437 fields->f_reglist_low_st = value;
1440 fields->f_s10 = value;
1443 fields->f_u10 = value;
1446 fields->f_u4 = value;
1449 fields->f_u4c = value;
1452 fields->f_u8 = value;
1455 fields->f_udisp6 = value;