Home | History | Annotate | Download | only in cpu

Lines Matching refs:strp

937 			const char **strp,
945 (cd, CGEN_PARSE_OPERAND_SYMBOLIC, strp, opindex, opinfo,
960 const char **strp,
968 if (**strp == '#' || **strp == '%')
970 if (strncasecmp (*strp + 1, "tlsdesc(", 8) == 0)
972 *strp += 9;
973 errmsg = parse_symbolic_address (cd, strp, opindex,
976 if (**strp != ')')
980 ++*strp;
986 while (**strp == ' ' || **strp == '\t')
987 ++*strp;
989 if (**strp != '@')
992 ++*strp;
999 const char **strp,
1007 if (**strp == '#' || **strp == '%')
1009 if (strncasecmp (*strp + 1, "gettlsoff(", 10) == 0)
1011 *strp += 11;
1012 errmsg = parse_symbolic_address (cd, strp, opindex,
1015 if (**strp != ')')
1019 ++*strp;
1025 while (**strp == ' ' || **strp == '\t')
1026 ++*strp;
1028 if (**strp != '@')
1031 ++*strp;
1038 const char **strp,
1046 if (**strp == '#' || **strp == '%')
1048 if (strncasecmp (*strp + 1, "tlsoff(", 7) == 0)
1050 *strp += 8;
1051 errmsg = parse_symbolic_address (cd, strp, opindex,
1054 if (**strp != ')')
1058 ++*strp;
1064 while (**strp == ' ' || **strp == '\t')
1065 ++*strp;
1067 if (**strp != '@')
1070 ++*strp;
1077 const char **strp,
1085 if (**strp == '#' || **strp == '%')
1087 if (strncasecmp (*strp + 1, "lo(", 3) == 0)
1089 *strp += 4;
1090 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_FRV_LO16,
1092 if (**strp != ')')
1094 ++*strp;
1101 if (strncasecmp (*strp + 1, "gprello(", 8) == 0)
1103 *strp += 9;
1104 errmsg = parse_symbolic_address (cd, strp, opindex,
1107 if (**strp != ')')
1109 ++*strp;
1113 else if (strncasecmp (*strp + 1, "gotlo(", 6) == 0)
1115 *strp += 7;
1116 errmsg = parse_symbolic_address (cd, strp, opindex,
1119 if (**strp != ')')
1121 ++*strp;
1125 else if (strncasecmp (*strp + 1, "gotfuncdesclo(", 14) == 0)
1127 *strp += 15;
1128 errmsg = parse_symbolic_address (cd, strp, opindex,
1131 if (**strp != ')')
1133 ++*strp;
1137 else if (strncasecmp (*strp + 1, "gotofflo(", 9) == 0)
1139 *strp += 10;
1140 errmsg = parse_symbolic_address (cd, strp, opindex,
1143 if (**strp != ')')
1145 ++*strp;
1149 else if (strncasecmp (*strp + 1, "gotofffuncdesclo(", 17) == 0)
1151 *strp += 18;
1152 errmsg = parse_symbolic_address (cd, strp, opindex,
1155 if (**strp != ')')
1157 ++*strp;
1161 else if (strncasecmp (*strp + 1, "gottlsdesclo(", 13) == 0)
1163 *strp += 14;
1164 errmsg = parse_symbolic_address (cd, strp, opindex,
1167 if (**strp != ')')
1169 ++*strp;
1173 else if (strncasecmp (*strp + 1, "tlsmofflo(", 10) == 0)
1175 *strp += 11;
1176 errmsg = parse_symbolic_address (cd, strp, opindex,
1179 if (**strp != ')')
1181 ++*strp;
1185 else if (strncasecmp (*strp + 1, "gottlsofflo(", 12) == 0)
1187 *strp += 13;
1188 errmsg = parse_symbolic_address (cd, strp, opindex,
1191 if (**strp != ')')
1193 ++*strp;
1198 return cgen_parse_unsigned_integer (cd, strp, opindex, valuep);
1203 const char **strp,
1211 if (**strp == '#' || **strp == '%')
1213 if (strncasecmp (*strp + 1, "lo(", 3) == 0)
1215 *strp += 4;
1216 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_FRV_LO16,
1218 if (**strp != ')')
1220 ++*strp;
1227 else if (strncasecmp (*strp + 1, "gprello(", 8) == 0)
1229 *strp += 9;
1230 errmsg = parse_symbolic_address (cd, strp, opindex,
1233 if (**strp != ')')
1235 ++*strp;
1239 else if (strncasecmp (*strp + 1, "gotlo(", 6) == 0)
1241 *strp += 7;
1242 errmsg = parse_symbolic_address (cd, strp, opindex,
1245 if (**strp != ')')
1247 ++*strp;
1251 else if (strncasecmp (*strp + 1, "gotfuncdesclo(", 14) == 0)
1253 *strp += 15;
1254 errmsg = parse_symbolic_address (cd, strp, opindex,
1257 if (**strp != ')')
1259 ++*strp;
1263 else if (strncasecmp (*strp + 1, "gotofflo(", 9) == 0)
1265 *strp += 10;
1266 errmsg = parse_symbolic_address (cd, strp, opindex,
1269 if (**strp != ')')
1271 ++*strp;
1275 else if (strncasecmp (*strp + 1, "gotofffuncdesclo(", 17) == 0)
1277 *strp += 18;
1278 errmsg = parse_symbolic_address (cd, strp, opindex,
1281 if (**strp != ')')
1283 ++*strp;
1287 else if (strncasecmp (*strp + 1, "gottlsdesclo(", 13) == 0)
1289 *strp += 14;
1290 errmsg = parse_symbolic_address (cd, strp, opindex,
1293 if (**strp != ')')
1295 ++*strp;
1299 else if (strncasecmp (*strp + 1, "tlsmofflo(", 10) == 0)
1301 *strp += 11;
1302 errmsg = parse_symbolic_address (cd, strp, opindex,
1305 if (**strp != ')')
1307 ++*strp;
1311 else if (strncasecmp (*strp + 1, "gottlsofflo(", 12) == 0)
1313 *strp += 13;
1314 errmsg = parse_symbolic_address (cd, strp, opindex,
1317 if (**strp != ')')
1319 ++*strp;
1324 return cgen_parse_signed_integer (cd, strp, opindex, valuep);
1329 const char **strp,
1337 if (**strp == '#' || **strp == '%')
1339 if (strncasecmp (*strp + 1, "hi(", 3) == 0)
1341 *strp += 4;
1342 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_FRV_HI16,
1344 if (**strp != ')')
1346 ++*strp;
1360 else if (strncasecmp (*strp + 1, "gprelhi(", 8) == 0)
1362 *strp += 9;
1363 errmsg = parse_symbolic_address (cd, strp, opindex,
1366 if (**strp != ')')
1368 ++*strp;
1372 else if (strncasecmp (*strp + 1, "gothi(", 6) == 0)
1374 *strp += 7;
1375 errmsg = parse_symbolic_address (cd, strp, opindex,
1378 if (**strp != ')')
1380 ++*strp;
1384 else if (strncasecmp (*strp + 1, "gotfuncdeschi(", 14) == 0)
1386 *strp += 15;
1387 errmsg = parse_symbolic_address (cd, strp, opindex,
1390 if (**strp != ')')
1392 ++*strp;
1396 else if (strncasecmp (*strp + 1, "gotoffhi(", 9) == 0)
1398 *strp += 10;
1399 errmsg = parse_symbolic_address (cd, strp, opindex,
1402 if (**strp != ')')
1404 ++*strp;
1408 else if (strncasecmp (*strp + 1, "gotofffuncdeschi(", 17) == 0)
1410 *strp += 18;
1411 errmsg = parse_symbolic_address (cd, strp, opindex,
1414 if (**strp != ')')
1416 ++*strp;
1420 else if (strncasecmp (*strp + 1, "gottlsdeschi(", 13) == 0)
1422 *strp += 14;
1423 errmsg = parse_symbolic_address (cd, strp, opindex,
1426 if (**strp != ')')
1428 ++*strp;
1432 else if (strncasecmp (*strp + 1, "tlsmoffhi(", 10) == 0)
1434 *strp += 11;
1435 errmsg = parse_symbolic_address (cd, strp, opindex,
1438 if (**strp != ')')
1440 ++*strp;
1444 else if (strncasecmp (*strp + 1, "gottlsoffhi(", 12) == 0)
1446 *strp += 13;
1447 errmsg = parse_symbolic_address (cd, strp, opindex,
1450 if (**strp != ')')
1452 ++*strp;
1457 return cgen_parse_unsigned_integer (cd, strp, opindex, valuep);
1461 parse_register_number (const char **strp)
1465 if (**strp < '0' || **strp > '9')
1468 regno = **strp - '0';
1469 for (++*strp; **strp >= '0' && **strp <= '9'; ++*strp)
1470 regno = regno * 10 + (**strp - '0');
1477 const char **strp,
1485 if (strncasecmp (*strp, "spr[", 4) == 0)
1487 *strp += 4;
1488 regno = parse_register_number (strp);
1489 if (**strp != ']')
1491 ++*strp;
1498 save_strp = *strp;
1499 regno = parse_register_number (strp);
1508 *strp = save_strp;
1509 return cgen_parse_keyword (cd, strp, table, valuep);
1514 const char **strp,
1523 if (**strp == '#' || **strp == '%')
1525 if (strncasecmp (*strp + 1, "gprel12(", 8) == 0)
1527 *strp += 9;
1528 errmsg = parse_symbolic_address (cd, strp, opindex,
1531 if (**strp != ')')
1533 ++*strp;
1537 else if (strncasecmp (*strp + 1, "got12(", 6) == 0)
1539 *strp += 7;
1540 errmsg = parse_symbolic_address (cd, strp, opindex,
1543 if (**strp != ')')
1545 ++*strp;
1549 else if (strncasecmp (*strp + 1, "gotfuncdesc12(", 14) == 0)
1551 *strp += 15;
1552 errmsg = parse_symbolic_address (cd, strp, opindex,
1555 if (**strp != ')')
1557 ++*strp;
1561 else if (strncasecmp (*strp + 1, "gotoff12(", 9) == 0)
1563 *strp += 10;
1564 errmsg = parse_symbolic_address (cd, strp, opindex,
1567 if (**strp != ')')
1569 ++*strp;
1573 else if (strncasecmp (*strp + 1, "gotofffuncdesc12(", 17) == 0)
1575 *strp += 18;
1576 errmsg = parse_symbolic_address (cd, strp, opindex,
1579 if (**strp != ')')
1581 ++*strp;
1585 else if (strncasecmp (*strp + 1, "gottlsdesc12(", 13) == 0)
1587 *strp += 14;
1588 errmsg = parse_symbolic_address (cd, strp, opindex,
1591 if (**strp != ')')
1593 ++*strp;
1597 else if (strncasecmp (*strp + 1, "tlsmoff12(", 10) == 0)
1599 *strp += 11;
1600 errmsg = parse_symbolic_address (cd, strp, opindex,
1603 if (**strp != ')')
1605 ++*strp;
1609 else if (strncasecmp (*strp + 1, "gottlsoff12(", 12) == 0)
1611 *strp += 13;
1612 errmsg = parse_symbolic_address (cd, strp, opindex,
1615 if (**strp != ')')
1617 ++*strp;
1622 return cgen_parse_signed_integer (cd, strp, opindex, valuep);
1627 const char **strp,
1636 if (**strp == '#' || **strp == '%')
1638 if (strncasecmp (*strp + 1, "gprel12(", 8) == 0)
1640 *strp += 9;
1641 errmsg = parse_symbolic_address (cd, strp, opindex,
1644 if (**strp != ')')
1646 ++*strp;
1650 else if (strncasecmp (*strp + 1, "got12(", 6) == 0)
1652 *strp += 7;
1653 errmsg = parse_symbolic_address (cd, strp, opindex,
1656 if (**strp != ')')
1658 ++*strp;
1662 else if (strncasecmp (*strp + 1, "gotfuncdesc12(", 14) == 0)
1664 *strp += 15;
1665 errmsg = parse_symbolic_address (cd, strp, opindex,
1668 if (**strp != ')')
1670 ++*strp;
1674 else if (strncasecmp (*strp + 1, "gotoff12(", 9) == 0)
1676 *strp += 10;
1677 errmsg = parse_symbolic_address (cd, strp, opindex,
1680 if (**strp != ')')
1682 ++*strp;
1686 else if (strncasecmp (*strp + 1, "gotofffuncdesc12(", 17) == 0)
1688 *strp += 18;
1689 errmsg = parse_symbolic_address (cd, strp, opindex,
1692 if (**strp != ')')
1694 ++*strp;
1698 else if (strncasecmp (*strp + 1, "gottlsdesc12(", 13) == 0)
1700 *strp += 14;
1701 errmsg = parse_symbolic_address (cd, strp, opindex,
1704 if (**strp != ')')
1706 ++*strp;
1710 else if (strncasecmp (*strp + 1, "tlsmoff12(", 10) == 0)
1712 *strp += 11;
1713 errmsg = parse_symbolic_address (cd, strp, opindex,
1716 if (**strp != ')')
1718 ++*strp;
1722 else if (strncasecmp (*strp + 1, "gottlsoff12(", 12) == 0)
1724 *strp += 13;
1725 errmsg = parse_symbolic_address (cd, strp, opindex,
1728 if (**strp != ')')
1730 ++*strp;
1736 if (**strp == '#')
1737 ++*strp;
1738 return cgen_parse_signed_integer (cd, strp, opindex, valuep);
1743 const char **strp,
1752 if ((**strp == '#' || **strp == '%')
1753 && strncasecmp (*strp + 1, "gprel12(", 8) == 0)
1755 *strp += 9;
1756 errmsg = parse_symbolic_address (cd, strp, opindex,
1759 if (**strp != ')')
1761 ++*strp;
1767 if (**strp == '#')
1768 ++*strp;
1769 return cgen_parse_signed_integer (cd, strp, opindex, valuep);
1775 const char **strp,
1782 if (**strp == '#')
1783 ++*strp;
1785 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep);
1797 const char **strp,
1801 return parse_A (cd, strp, opindex, valuep, 0);
1806 const char **strp,
1810 return parse_A (cd, strp, opindex, valuep, 1);
1815 const char ** strP,
1820 const char * saved_star_strP = * strP;
1822 errmsg = cgen_parse_keyword (cd, strP, tableP, valueP);
1827 * strP = saved_star_strP;
1835 const char **strp,
1845 if (opinfo == 0 && (**strp == '#' || **strp == '%'))
1847 if (strncasecmp (*strp + 1, "gettlsoff(", 10) == 0)
1849 *strp += 11;
1850 errmsg = parse_symbolic_address (cd, strp, opindex,
1853 if (**strp != ')')
1855 ++*strp;
1861 return cgen_parse_address (cd, strp, opindex, opinfo, resultp, valuep);