Lines Matching refs:strp
933 const char **strp,
941 (cd, CGEN_PARSE_OPERAND_SYMBOLIC, strp, opindex, opinfo,
956 const char **strp,
964 if (**strp == '#' || **strp == '%')
966 if (strncasecmp (*strp + 1, "tlsdesc(", 8) == 0)
968 *strp += 9;
969 errmsg = parse_symbolic_address (cd, strp, opindex,
972 if (**strp != ')')
976 ++*strp;
982 while (**strp == ' ' || **strp == '\t')
983 ++*strp;
985 if (**strp != '@')
988 ++*strp;
995 const char **strp,
1003 if (**strp == '#' || **strp == '%')
1005 if (strncasecmp (*strp + 1, "gettlsoff(", 10) == 0)
1007 *strp += 11;
1008 errmsg = parse_symbolic_address (cd, strp, opindex,
1011 if (**strp != ')')
1015 ++*strp;
1021 while (**strp == ' ' || **strp == '\t')
1022 ++*strp;
1024 if (**strp != '@')
1027 ++*strp;
1034 const char **strp,
1042 if (**strp == '#' || **strp == '%')
1044 if (strncasecmp (*strp + 1, "tlsoff(", 7) == 0)
1046 *strp += 8;
1047 errmsg = parse_symbolic_address (cd, strp, opindex,
1050 if (**strp != ')')
1054 ++*strp;
1060 while (**strp == ' ' || **strp == '\t')
1061 ++*strp;
1063 if (**strp != '@')
1066 ++*strp;
1073 const char **strp,
1081 if (**strp == '#' || **strp == '%')
1083 if (strncasecmp (*strp + 1, "lo(", 3) == 0)
1085 *strp += 4;
1086 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_FRV_LO16,
1088 if (**strp != ')')
1090 ++*strp;
1097 if (strncasecmp (*strp + 1, "gprello(", 8) == 0)
1099 *strp += 9;
1100 errmsg = parse_symbolic_address (cd, strp, opindex,
1103 if (**strp != ')')
1105 ++*strp;
1109 else if (strncasecmp (*strp + 1, "gotlo(", 6) == 0)
1111 *strp += 7;
1112 errmsg = parse_symbolic_address (cd, strp, opindex,
1115 if (**strp != ')')
1117 ++*strp;
1121 else if (strncasecmp (*strp + 1, "gotfuncdesclo(", 14) == 0)
1123 *strp += 15;
1124 errmsg = parse_symbolic_address (cd, strp, opindex,
1127 if (**strp != ')')
1129 ++*strp;
1133 else if (strncasecmp (*strp + 1, "gotofflo(", 9) == 0)
1135 *strp += 10;
1136 errmsg = parse_symbolic_address (cd, strp, opindex,
1139 if (**strp != ')')
1141 ++*strp;
1145 else if (strncasecmp (*strp + 1, "gotofffuncdesclo(", 17) == 0)
1147 *strp += 18;
1148 errmsg = parse_symbolic_address (cd, strp, opindex,
1151 if (**strp != ')')
1153 ++*strp;
1157 else if (strncasecmp (*strp + 1, "gottlsdesclo(", 13) == 0)
1159 *strp += 14;
1160 errmsg = parse_symbolic_address (cd, strp, opindex,
1163 if (**strp != ')')
1165 ++*strp;
1169 else if (strncasecmp (*strp + 1, "tlsmofflo(", 10) == 0)
1171 *strp += 11;
1172 errmsg = parse_symbolic_address (cd, strp, opindex,
1175 if (**strp != ')')
1177 ++*strp;
1181 else if (strncasecmp (*strp + 1, "gottlsofflo(", 12) == 0)
1183 *strp += 13;
1184 errmsg = parse_symbolic_address (cd, strp, opindex,
1187 if (**strp != ')')
1189 ++*strp;
1194 return cgen_parse_unsigned_integer (cd, strp, opindex, valuep);
1199 const char **strp,
1207 if (**strp == '#' || **strp == '%')
1209 if (strncasecmp (*strp + 1, "lo(", 3) == 0)
1211 *strp += 4;
1212 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_FRV_LO16,
1214 if (**strp != ')')
1216 ++*strp;
1223 else if (strncasecmp (*strp + 1, "gprello(", 8) == 0)
1225 *strp += 9;
1226 errmsg = parse_symbolic_address (cd, strp, opindex,
1229 if (**strp != ')')
1231 ++*strp;
1235 else if (strncasecmp (*strp + 1, "gotlo(", 6) == 0)
1237 *strp += 7;
1238 errmsg = parse_symbolic_address (cd, strp, opindex,
1241 if (**strp != ')')
1243 ++*strp;
1247 else if (strncasecmp (*strp + 1, "gotfuncdesclo(", 14) == 0)
1249 *strp += 15;
1250 errmsg = parse_symbolic_address (cd, strp, opindex,
1253 if (**strp != ')')
1255 ++*strp;
1259 else if (strncasecmp (*strp + 1, "gotofflo(", 9) == 0)
1261 *strp += 10;
1262 errmsg = parse_symbolic_address (cd, strp, opindex,
1265 if (**strp != ')')
1267 ++*strp;
1271 else if (strncasecmp (*strp + 1, "gotofffuncdesclo(", 17) == 0)
1273 *strp += 18;
1274 errmsg = parse_symbolic_address (cd, strp, opindex,
1277 if (**strp != ')')
1279 ++*strp;
1283 else if (strncasecmp (*strp + 1, "gottlsdesclo(", 13) == 0)
1285 *strp += 14;
1286 errmsg = parse_symbolic_address (cd, strp, opindex,
1289 if (**strp != ')')
1291 ++*strp;
1295 else if (strncasecmp (*strp + 1, "tlsmofflo(", 10) == 0)
1297 *strp += 11;
1298 errmsg = parse_symbolic_address (cd, strp, opindex,
1301 if (**strp != ')')
1303 ++*strp;
1307 else if (strncasecmp (*strp + 1, "gottlsofflo(", 12) == 0)
1309 *strp += 13;
1310 errmsg = parse_symbolic_address (cd, strp, opindex,
1313 if (**strp != ')')
1315 ++*strp;
1320 return cgen_parse_signed_integer (cd, strp, opindex, valuep);
1325 const char **strp,
1333 if (**strp == '#' || **strp == '%')
1335 if (strncasecmp (*strp + 1, "hi(", 3) == 0)
1337 *strp += 4;
1338 errmsg = cgen_parse_address (cd, strp, opindex, BFD_RELOC_FRV_HI16,
1340 if (**strp != ')')
1342 ++*strp;
1356 else if (strncasecmp (*strp + 1, "gprelhi(", 8) == 0)
1358 *strp += 9;
1359 errmsg = parse_symbolic_address (cd, strp, opindex,
1362 if (**strp != ')')
1364 ++*strp;
1368 else if (strncasecmp (*strp + 1, "gothi(", 6) == 0)
1370 *strp += 7;
1371 errmsg = parse_symbolic_address (cd, strp, opindex,
1374 if (**strp != ')')
1376 ++*strp;
1380 else if (strncasecmp (*strp + 1, "gotfuncdeschi(", 14) == 0)
1382 *strp += 15;
1383 errmsg = parse_symbolic_address (cd, strp, opindex,
1386 if (**strp != ')')
1388 ++*strp;
1392 else if (strncasecmp (*strp + 1, "gotoffhi(", 9) == 0)
1394 *strp += 10;
1395 errmsg = parse_symbolic_address (cd, strp, opindex,
1398 if (**strp != ')')
1400 ++*strp;
1404 else if (strncasecmp (*strp + 1, "gotofffuncdeschi(", 17) == 0)
1406 *strp += 18;
1407 errmsg = parse_symbolic_address (cd, strp, opindex,
1410 if (**strp != ')')
1412 ++*strp;
1416 else if (strncasecmp (*strp + 1, "gottlsdeschi(", 13) == 0)
1418 *strp += 14;
1419 errmsg = parse_symbolic_address (cd, strp, opindex,
1422 if (**strp != ')')
1424 ++*strp;
1428 else if (strncasecmp (*strp + 1, "tlsmoffhi(", 10) == 0)
1430 *strp += 11;
1431 errmsg = parse_symbolic_address (cd, strp, opindex,
1434 if (**strp != ')')
1436 ++*strp;
1440 else if (strncasecmp (*strp + 1, "gottlsoffhi(", 12) == 0)
1442 *strp += 13;
1443 errmsg = parse_symbolic_address (cd, strp, opindex,
1446 if (**strp != ')')
1448 ++*strp;
1453 return cgen_parse_unsigned_integer (cd, strp, opindex, valuep);
1457 parse_register_number (const char **strp)
1461 if (**strp < '0' || **strp > '9')
1464 regno = **strp - '0';
1465 for (++*strp; **strp >= '0' && **strp <= '9'; ++*strp)
1466 regno = regno * 10 + (**strp - '0');
1473 const char **strp,
1481 if (strncasecmp (*strp, "spr[", 4) == 0)
1483 *strp += 4;
1484 regno = parse_register_number (strp);
1485 if (**strp != ']')
1487 ++*strp;
1494 save_strp = *strp;
1495 regno = parse_register_number (strp);
1504 *strp = save_strp;
1505 return cgen_parse_keyword (cd, strp, table, valuep);
1510 const char **strp,
1519 if (**strp == '#' || **strp == '%')
1521 if (strncasecmp (*strp + 1, "gprel12(", 8) == 0)
1523 *strp += 9;
1524 errmsg = parse_symbolic_address (cd, strp, opindex,
1527 if (**strp != ')')
1529 ++*strp;
1533 else if (strncasecmp (*strp + 1, "got12(", 6) == 0)
1535 *strp += 7;
1536 errmsg = parse_symbolic_address (cd, strp, opindex,
1539 if (**strp != ')')
1541 ++*strp;
1545 else if (strncasecmp (*strp + 1, "gotfuncdesc12(", 14) == 0)
1547 *strp += 15;
1548 errmsg = parse_symbolic_address (cd, strp, opindex,
1551 if (**strp != ')')
1553 ++*strp;
1557 else if (strncasecmp (*strp + 1, "gotoff12(", 9) == 0)
1559 *strp += 10;
1560 errmsg = parse_symbolic_address (cd, strp, opindex,
1563 if (**strp != ')')
1565 ++*strp;
1569 else if (strncasecmp (*strp + 1, "gotofffuncdesc12(", 17) == 0)
1571 *strp += 18;
1572 errmsg = parse_symbolic_address (cd, strp, opindex,
1575 if (**strp != ')')
1577 ++*strp;
1581 else if (strncasecmp (*strp + 1, "gottlsdesc12(", 13) == 0)
1583 *strp += 14;
1584 errmsg = parse_symbolic_address (cd, strp, opindex,
1587 if (**strp != ')')
1589 ++*strp;
1593 else if (strncasecmp (*strp + 1, "tlsmoff12(", 10) == 0)
1595 *strp += 11;
1596 errmsg = parse_symbolic_address (cd, strp, opindex,
1599 if (**strp != ')')
1601 ++*strp;
1605 else if (strncasecmp (*strp + 1, "gottlsoff12(", 12) == 0)
1607 *strp += 13;
1608 errmsg = parse_symbolic_address (cd, strp, opindex,
1611 if (**strp != ')')
1613 ++*strp;
1618 return cgen_parse_signed_integer (cd, strp, opindex, valuep);
1623 const char **strp,
1632 if (**strp == '#' || **strp == '%')
1634 if (strncasecmp (*strp + 1, "gprel12(", 8) == 0)
1636 *strp += 9;
1637 errmsg = parse_symbolic_address (cd, strp, opindex,
1640 if (**strp != ')')
1642 ++*strp;
1646 else if (strncasecmp (*strp + 1, "got12(", 6) == 0)
1648 *strp += 7;
1649 errmsg = parse_symbolic_address (cd, strp, opindex,
1652 if (**strp != ')')
1654 ++*strp;
1658 else if (strncasecmp (*strp + 1, "gotfuncdesc12(", 14) == 0)
1660 *strp += 15;
1661 errmsg = parse_symbolic_address (cd, strp, opindex,
1664 if (**strp != ')')
1666 ++*strp;
1670 else if (strncasecmp (*strp + 1, "gotoff12(", 9) == 0)
1672 *strp += 10;
1673 errmsg = parse_symbolic_address (cd, strp, opindex,
1676 if (**strp != ')')
1678 ++*strp;
1682 else if (strncasecmp (*strp + 1, "gotofffuncdesc12(", 17) == 0)
1684 *strp += 18;
1685 errmsg = parse_symbolic_address (cd, strp, opindex,
1688 if (**strp != ')')
1690 ++*strp;
1694 else if (strncasecmp (*strp + 1, "gottlsdesc12(", 13) == 0)
1696 *strp += 14;
1697 errmsg = parse_symbolic_address (cd, strp, opindex,
1700 if (**strp != ')')
1702 ++*strp;
1706 else if (strncasecmp (*strp + 1, "tlsmoff12(", 10) == 0)
1708 *strp += 11;
1709 errmsg = parse_symbolic_address (cd, strp, opindex,
1712 if (**strp != ')')
1714 ++*strp;
1718 else if (strncasecmp (*strp + 1, "gottlsoff12(", 12) == 0)
1720 *strp += 13;
1721 errmsg = parse_symbolic_address (cd, strp, opindex,
1724 if (**strp != ')')
1726 ++*strp;
1732 if (**strp == '#')
1733 ++*strp;
1734 return cgen_parse_signed_integer (cd, strp, opindex, valuep);
1739 const char **strp,
1748 if ((**strp == '#' || **strp == '%')
1749 && strncasecmp (*strp + 1, "gprel12(", 8) == 0)
1751 *strp += 9;
1752 errmsg = parse_symbolic_address (cd, strp, opindex,
1755 if (**strp != ')')
1757 ++*strp;
1763 if (**strp == '#')
1764 ++*strp;
1765 return cgen_parse_signed_integer (cd, strp, opindex, valuep);
1771 const char **strp,
1778 if (**strp == '#')
1779 ++*strp;
1781 errmsg = cgen_parse_unsigned_integer (cd, strp, opindex, valuep);
1793 const char **strp,
1797 return parse_A (cd, strp, opindex, valuep, 0);
1802 const char **strp,
1806 return parse_A (cd, strp, opindex, valuep, 1);
1831 const char **strp,
1841 if (opinfo == 0 && (**strp == '#' || **strp == '%'))
1843 if (strncasecmp (*strp + 1, "gettlsoff(", 10) == 0)
1845 *strp += 11;
1846 errmsg = parse_symbolic_address (cd, strp, opindex,
1849 if (**strp != ')')
1851 ++*strp;
1857 return cgen_parse_address (cd, strp, opindex, opinfo, resultp, valuep);