Lines Matching refs:OPCODE
32 #include "opcode/hppa.h"
231 /* Holds the opcode after parsing by pa_ip. */
232 unsigned long opcode;
552 /* handle of the OPCODE hash table */
555 /* These characters can be suffixes of opcode names and they may be
611 Each opcode in the table has a flag which indicates whether or
1007 /* Insert FIELD into OPCODE starting at bit START. Continue pa_ip
1010 #define INSERT_FIELD_AND_CONTINUE(OPCODE, FIELD, START) \
1012 ((OPCODE) |= (FIELD) << (START)); \
2243 a new PA-1.1 opcode. */
3209 unsigned long opcode;
3244 as_bad (_("Unknown opcode: `%s'"), str);
3248 /* Look up the opcode in the hash table. */
3251 as_bad (_("Unknown opcode: `%s'"), str);
3264 opcode = insn->match;
3275 /* Build the opcode, checking as we go to make
3317 INSERT_FIELD_AND_CONTINUE (opcode, num, 21);
3344 INSERT_FIELD_AND_CONTINUE (opcode, num, 16);
3352 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
3360 opcode
3361 INSERT_FIELD_AND_CONTINUE (opcode, num, 21);
3371 INSERT_FIELD_AND_CONTINUE (opcode, 32 - num, 0);
3383 INSERT_FIELD_AND_CONTINUE (opcode, num, 16);
3395 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
3404 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
3413 INSERT_FIELD_AND_CONTINUE (opcode, num, 16);
3422 INSERT_FIELD_AND_CONTINUE (opcode, num, 16);
3430 INSERT_FIELD_AND_CONTINUE (opcode, num, 14);
3438 opcode |= re_assemble_3 (num);
3481 opcode |= m << 5;
3482 INSERT_FIELD_AND_CONTINUE (opcode, uu, 13);
3527 opcode |= m << 5;
3528 INSERT_FIELD_AND_CONTINUE (opcode, a, 13);
3532 opcode |= m << 3;
3533 INSERT_FIELD_AND_CONTINUE (opcode, a, 2);
3537 /* M bit is explicit in the major opcode. */
3538 INSERT_FIELD_AND_CONTINUE (opcode, a, 2);
3545 opcode |= a;
3580 opcode |= m << 5;
3581 INSERT_FIELD_AND_CONTINUE (opcode, a, 13);
3592 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr, 10);
3607 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr, 10);
3617 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr, 10);
3675 INSERT_FIELD_AND_CONTINUE (opcode, flag, 6);
3693 INSERT_FIELD_AND_CONTINUE (opcode, flag, 5);
3705 INSERT_FIELD_AND_CONTINUE (opcode, flag, 5);
3716 INSERT_FIELD_AND_CONTINUE (opcode, flag, 6);
3727 INSERT_FIELD_AND_CONTINUE (opcode, flag, 10);
3743 INSERT_FIELD_AND_CONTINUE (opcode, flag, 10);
3764 INSERT_FIELD_AND_CONTINUE (opcode, flag, 11);
3783 INSERT_FIELD_AND_CONTINUE (opcode, flag, 11);
3794 INSERT_FIELD_AND_CONTINUE (opcode, flag, 11);
3813 INSERT_FIELD_AND_CONTINUE (opcode, flag, 11);
3834 INSERT_FIELD_AND_CONTINUE (opcode, flag, 11);
3853 INSERT_FIELD_AND_CONTINUE (opcode, flag, 11);
3864 INSERT_FIELD_AND_CONTINUE (opcode, flag, 6);
3881 INSERT_FIELD_AND_CONTINUE (opcode, sign, 10);
3897 INSERT_FIELD_AND_CONTINUE (opcode, lr, 13);
3918 INSERT_FIELD_AND_CONTINUE (opcode, sat, 6);
3951 opcode |= perm << permloc[i];
3973 INSERT_FIELD_AND_CONTINUE (opcode, cond, 0);
4064 opcode |= cmpltr << 13;
4065 INSERT_FIELD_AND_CONTINUE (opcode, flag, 12);
4075 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr, 13);
4087 /* Negated condition requires an opcode change. */
4088 opcode |= (cmpltr & 8) << 24;
4090 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr & 7, 13);
4108 /* Negated condition requires an opcode change. */
4109 opcode |= 1 << 27;
4112 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr, 13);
4148 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr, 15);
4240 opcode |= cmpltr << 13;
4241 INSERT_FIELD_AND_CONTINUE (opcode, flag, 12);
4251 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr, 13);
4268 /* Negated condition requires an opcode change. */
4269 opcode |= 1 << 27;
4273 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr, 13);
4280 /* Negated condition requires an opcode change. */
4281 opcode |= (cmpltr & 8) << 26;
4287 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr & 7, 13);
4296 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr, 13);
4366 opcode |= cmpltr << 13;
4367 INSERT_FIELD_AND_CONTINUE (opcode, flag, 12);
4425 INSERT_FIELD_AND_CONTINUE (opcode, cmpltr, 13);
4450 uxor = (opcode & 0xfc000fc0) == 0x08000380;
4544 opcode |= cmpltr << 13;
4545 INSERT_FIELD_AND_CONTINUE (opcode, flag, 12);
4556 INSERT_FIELD_AND_CONTINUE (opcode, nullif, 1);
4561 INSERT_FIELD_AND_CONTINUE (opcode, nullif, 5);
4583 INSERT_FIELD_AND_CONTINUE (opcode, num, 13);
4598 INSERT_FIELD_AND_CONTINUE (opcode, num, 13);
4607 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
4620 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
4659 mb = opcode & 1;
4660 opcode -= mb;
4666 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
4679 mb = opcode & 1;
4680 opcode -= mb;
4688 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
4701 mb = opcode & 1;
4702 opcode -= mb;
4708 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
4721 mb = opcode & 1;
4722 opcode -= mb;
4730 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
4748 opcode |= 1;
4751 INSERT_FIELD_AND_CONTINUE (opcode, num, 4);
4790 opcode |= 1;
4793 INSERT_FIELD_AND_CONTINUE (opcode, num, 3);
4829 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
4864 opcode |= re_assemble_21 (num);
4900 opcode |= re_assemble_16 (num);
4938 opcode |= re_assemble_16 (num);
4976 opcode |= re_assemble_16 (num);
5023 opcode |= re_assemble_12 (num >> 2);
5055 opcode |= re_assemble_17 (num >> 2);
5086 opcode |= re_assemble_22 (num >> 2);
5116 opcode |= re_assemble_17 (num >> 2);
5160 INSERT_FIELD_AND_CONTINUE (opcode, num, 6);
5169 INSERT_FIELD_AND_CONTINUE (opcode, num, 6);
5179 INSERT_FIELD_AND_CONTINUE (opcode, 31 - num, 5);
5190 opcode |= (num & 0x20) << 6;
5191 INSERT_FIELD_AND_CONTINUE (opcode, num & 0x1f, 5);
5203 opcode |= (num & 0x20) << 3;
5205 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
5216 opcode |= (num & 0x20) << 7;
5218 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
5228 INSERT_FIELD_AND_CONTINUE (opcode, num, 5);
5238 opcode |= (num & 0x20) << 6;
5239 INSERT_FIELD_AND_CONTINUE (opcode, num & 0x1f, 5);
5252 opcode |= (1 << 13);
5253 INSERT_FIELD_AND_CONTINUE (opcode, num & 0x1f, 21);
5262 INSERT_FIELD_AND_CONTINUE (opcode, num, 21);
5271 INSERT_FIELD_AND_CONTINUE (opcode, num, 3);
5280 INSERT_FIELD_AND_CONTINUE (opcode, num, 13);
5289 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
5300 INSERT_FIELD_AND_CONTINUE (opcode, num, 6);
5310 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
5319 INSERT_FIELD_AND_CONTINUE (opcode, num, 11);
5329 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
5339 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
5350 INSERT_FIELD_AND_CONTINUE (opcode, num, 6);
5360 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
5379 INSERT_FIELD_AND_CONTINUE (opcode, flag, 11);
5393 opcode |= flag << 13;
5436 INSERT_FIELD_AND_CONTINUE (opcode, flag, 15);
5442 INSERT_FIELD_AND_CONTINUE (opcode, flag, 11);
5450 INSERT_FIELD_AND_CONTINUE (opcode, flag, 13);
5456 INSERT_FIELD_AND_CONTINUE (opcode, flag, 11);
5465 opcode |= 0x20;
5490 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
5499 opcode |= num;
5505 && ((opcode & 0xfc000000) == 0x30000000))
5506 opcode |= 1 << 27;
5508 opcode |= (pa_number & FP_REG_RSEL ? 1 << 6 : 0);
5519 opcode |= num << 21;
5522 opcode |= (pa_number & FP_REG_RSEL ? 1 << 7 : 0);
5523 opcode |= 1 << 27;
5536 opcode |= num << 21;
5537 opcode |= (pa_number & FP_REG_RSEL ? 1 << 7 : 0);
5548 opcode |= num << 16;
5551 opcode |= (pa_number & FP_REG_RSEL ? 1 << 12 : 0);
5552 opcode |= 1 << 27;
5564 opcode |= num << 16;
5565 opcode |= (pa_number & FP_REG_RSEL ? 1 << 12 : 0);
5576 opcode |= (num & 0x1c) << 11;
5577 opcode |= (num & 0x03) << 9;
5578 opcode |= (pa_number & FP_REG_RSEL ? 1 << 8 : 0);
5599 INSERT_FIELD_AND_CONTINUE (opcode, num, 21);
5619 INSERT_FIELD_AND_CONTINUE (opcode, num, 16);
5639 INSERT_FIELD_AND_CONTINUE (opcode, num, 0);
5659 INSERT_FIELD_AND_CONTINUE (opcode, num, 6);
5679 INSERT_FIELD_AND_CONTINUE (opcode, num, 11);
5690 opcode |= num << 16;
5693 opcode |= (pa_number & FP_REG_RSEL ? 1 << 1 : 0);
5704 INSERT_FIELD_AND_CONTINUE (opcode, num, 16);
5755 the_insn.opcode = opcode;
5815 /* Output the opcode. */
5816 md_number_to_chars (to, the_insn.opcode, 4);
8351 fprintf (stderr, _("internal error: losing opcode: `%s' \"%s\"\n"),