Home | History | Annotate | Download | only in priv

Lines Matching refs:INSN1

17485    /* A macro to fish bits out of insn0.  There's also INSN1, to fish
17486 bits out of insn1, but that's defined only after the end of the
17493 UShort insn1; /* second 16 bits of the insn */
17524 insn1 = 0; /* We'll get it later, once we know we need it. */
17647 insn1
17652 The 'it' only conditionalises insn1 and insn2. However, the
17913 /* -- IMPORTANT: references to insn1 or INSN1 are -- */
19241 # define INSN1(_bMax,_bMin) SLICE_UInt(((UInt)insn1), (_bMax), (_bMin))
19244 vassert(insn1 == 0);
19245 insn1 = getUShortLittleEndianly( guest_instr+2 );
19257 if (BITS5(1,1,1,1,0) == INSN0(15,11) && BITS2(1,1) == INSN1(15,14)) {
19258 UInt isBL = INSN1(12,12);
19260 UInt bJ1 = INSN1(13,13);
19261 UInt bJ2 = INSN1(11,11);
19269 | (INSN1(10,0) << 1);
19276 (not-BL), that insn1
19278 if (isBL == 0 && INSN1(0,0) == 1) valid = False;
19315 UInt bP = INSN1(15,15); /* reglist entry for r15 */
19316 UInt bM = INSN1(14,14); /* reglist entry for r14 */
19317 UInt rLmost = INSN1(12,0); /* reglist entry for r0 .. 12 */
19318 UInt rL13 = INSN1(13,13); /* must be zero */
19382 && INSN1(15,15) == 0) {
19385 UInt rD = INSN1(11,8);
19394 UInt imm32 = thumbExpandImm_from_I0_I1(NULL, insn0, insn1);
19410 && INSN1(15,15) == 0) {
19412 UInt rD = INSN1(11,8);
19421 UInt imm12 = (INSN0(10,10) << 11) | (INSN1(14,12) << 8) | INSN1(7,0);
19436 && INSN1(15,15) == 0
19437 && INSN1(11,8) == BITS4(1,1,1,1)) {
19443 UInt imm32 = thumbExpandImm_from_I0_I1(NULL, insn0, insn1);
19458 && INSN1(15,15) == 0
19459 && INSN1(11,8) == BITS4(1,1,1,1)) {
19469 UInt imm32 = thumbExpandImm_from_I0_I1(&updC, insn0, insn1);
19489 && INSN1(15,15) == 0) {
19493 UInt rD = INSN1(11,8);
19503 UInt imm32 = thumbExpandImm_from_I0_I1(NULL, insn0, insn1);
19525 && INSN1(15,15) == 0) {
19527 UInt rD = INSN1(11,8);
19536 UInt imm12 = (INSN0(10,10) << 11) | (INSN1(14,12) << 8) | INSN1(7,0);
19551 && INSN1(15,15) == 0) {
19556 UInt rD = INSN1(11,8);
19562 UInt imm32 = thumbExpandImm_from_I0_I1(NULL, insn0, insn1);
19609 && INSN1(15,15) == 0) {
19612 UInt rD = INSN1(11,8);
19631 UInt imm32 = thumbExpandImm_from_I0_I1(&updC, insn0, insn1);
19659 && INSN1(15,15) == 0) {
19661 UInt rD = INSN1(11,8);
19662 UInt rM = INSN1(3,0);
19664 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6);
19665 UInt how = INSN1(5,4);
19736 && INSN1(15,15) == 0) {
19740 UInt rD = INSN1(11,8);
19741 UInt rM = INSN1(3,0);
19744 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6);
19745 UInt how = INSN1(5,4);
19807 && INSN1(15,15) == 0) {
19809 UInt rD = INSN1(11,8);
19810 UInt rM = INSN1(3,0);
19826 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6);
19827 UInt how = INSN1(5,4);
19870 && INSN1(15,12) == BITS4(1,1,1,1)
19871 && INSN1(7,4) == BITS4(0,0,0,0)) {
19874 UInt rD = INSN1(11,8);
19875 UInt rM = INSN1(3,0);
19908 && INSN1(15,15) == 0) {
19909 UInt rD = INSN1(11,8);
19910 UInt rN = INSN1(3,0);
19917 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6);
19918 UInt how = INSN1(5,4);
19950 && INSN1(15,15) == 0
19951 && INSN1(11,8) == BITS4(1,1,1,1)) {
19953 UInt rM = INSN1(3,0);
19957 UInt how = INSN1(5,4);
19958 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6);
19991 && INSN1(15,15) == 0
19992 && INSN1(11,8) == BITS4(1,1,1,1)) {
19994 UInt rM = INSN1(3,0);
19997 UInt how = INSN1(5,4);
19998 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6);
20025 && INSN1(15,15) == 0) {
20026 UInt rD = INSN1(11,8);
20031 UInt imm32 = thumbExpandImm_from_I0_I1(&updC, insn0, insn1);
20054 && INSN1(15,15) == 0) {
20055 UInt rD = INSN1(11,8);
20058 | (INSN1(14,12) << 8) | INSN1(7,0);
20068 && INSN1(15,15) == 0) {
20069 UInt rD = INSN1(11,8);
20072 | (INSN1(14,12) << 8) | INSN1(7,0);
20093 if (INSN0(15,9) == BITS7(1,1,1,1,1,0,0) && INSN1(11,11) == 1) {
20122 UInt rT = INSN1(15,12);
20123 UInt bP = INSN1(10,10);
20124 UInt bU = INSN1(9,9);
20125 UInt bW = INSN1(8,8);
20126 UInt imm8 = INSN1(7,0);
20285 && INSN1(11,6) == BITS6(0,0,0,0,0,0)) {
20314 UInt rM = INSN1(3,0);
20315 UInt rT = INSN1(15,12);
20316 UInt imm2 = INSN1(5,4);
20463 UInt rT = INSN1(15,12);
20464 UInt imm12 = INSN1(11,0);
20592 UInt rT = INSN1(15,12);
20593 UInt rT2 = INSN1(11,8);
20594 UInt imm8 = INSN1(7,0);
20688 && INSN1(15,14) == BITS2(1,0)
20689 && INSN1(12,12) == 0) {
20694 | (INSN1(11,11) << (1 + 6 + 11 + 1))
20695 | (INSN1(13,13) << (6 + 11 + 1))
20697 | (INSN1(10,0) << 1);
20728 && INSN1(15,14) == BITS2(1,0)
20729 && INSN1(12,12) == 1) {
20732 UInt bJ1 = INSN1(13,13);
20733 UInt bJ2 = INSN1(11,11);
20741 | (INSN1(10,0) << 1);
20765 if (INSN0(15,4) == 0xE8D && INSN1(15,5) == 0x780) {
20767 UInt rM = INSN1(3,0);
20768 UInt bH = INSN1(4,4);
20813 && INSN1(15,15) == 0 && INSN1(5,5) == 0) {
20815 UInt rD = INSN1(11,8);
20816 UInt lsb = (INSN1(14,12) << 2) | INSN1(7,6);
20817 UInt wm1 = INSN1(4,0);
20858 && INSN1(15,12) == BITS4(1,1,1,1)
20859 && INSN1(7,6) == BITS2(1,0)) {
20860 UInt rD = INSN1(11,8);
20861 UInt rM = INSN1(3,0);
20862 UInt rot = INSN1(5,4);
20927 && (INSN1(15,0) & 0xF0F0) == 0xF000) {
20929 UInt rD = INSN1(11,8);
20930 UInt rM = INSN1(3,0);
20942 && (INSN1(15,0) & 0xF0F0) == 0xF0F0) {
20944 UInt rD = INSN1(11,8);
20945 UInt rM = INSN1(3,0);
20961 && (INSN1(15,0) & 0xF0F0) == 0xF0F0) {
20963 UInt rD = INSN1(11,8);
20964 UInt rM = INSN1(3,0);
20980 && INSN1(7,4) == BITS4(0,0,0,0)) {
20983 UInt rDlo = INSN1(15,12);
20984 UInt rDhi = INSN1(11,8);
20985 UInt rM = INSN1(3,0);
21001 && ( INSN1(7,4) == BITS4(0,0,0,0) // MLA
21002 || INSN1(7,4) == BITS4(0,0,0,1))) { // MLS
21004 UInt rA = INSN1(15,12);
21005 UInt rD = INSN1(11,8);
21006 UInt rM = INSN1(3,0);
21009 Bool isMLA = INSN1(7,4) == BITS4(0,0,0,0);
21024 && INSN1(15,15) == 0) {
21026 UInt rD = INSN1(11,8);
21029 | (INSN1(14,12) << 8) | INSN1(7,0);
21043 && INSN1(7,4) == BITS4(0,0,0,0)) {
21045 UInt rDlo = INSN1(15,12);
21046 UInt rDhi = INSN1(11,8);
21047 UInt rM = INSN1(3,0);
21075 if (INSN0(15,4) == 0xFBE && INSN1(7,4) == BITS4(0,1,1,0)) {
21077 UInt rDlo = INSN1(15,12);
21078 UInt rDhi = INSN1(11,8);
21079 UInt rM = INSN1(3,0);
21111 && INSN1(15,12) == BITS4(1,1,1,1)
21112 && INSN1(7,5) == BITS3(0,0,0)) {
21113 UInt bitR = INSN1(4,4);
21114 UInt rD = INSN1(11,8);
21115 UInt rM = INSN1(3,0);
21133 && INSN1(7,5) == BITS3(0,0,0)) {
21134 UInt bitR = INSN1(4,4);
21135 UInt rA = INSN1(15,12);
21136 UInt rD = INSN1(11,8);
21137 UInt rM = INSN1(3,0);
21156 && INSN1(15,15) == 0) {
21158 UInt rD = INSN1(11,8);
21161 | (INSN1(14,12) << 8) | INSN1(7,0);
21173 if (INSN0(15,4) == 0xF36 && INSN1(15,15) == 0 && INSN1(5,5) == 0) {
21174 UInt rD = INSN1(11,8);
21176 UInt msb = INSN1(4,0);
21177 UInt lsb = (INSN1(14,12) << 2) | INSN1(7,6);
21218 && INSN1(15,12) == BITS4(1,1,1,1)
21219 && INSN1(7,6) == BITS2(1,0)) {
21222 UInt rD = INSN1(11,8);
21223 UInt rM = INSN1(3,0);
21224 UInt rot = INSN1(5,4);
21247 && INSN1(15,12) == BITS4(1,1,1,1)
21248 && INSN1(7,6) == BITS2(1,0)) {
21251 UInt rD = INSN1(11,8);
21252 UInt rM = INSN1(3,0);
21253 UInt rot = INSN1(5,4);
21274 && INSN1(15,12) == BITS4(1,1,1,1)
21275 && INSN1(7,4) == BITS4(1,0,0,0)) {
21277 UInt rD = INSN1(11,8);
21278 UInt rM2 = INSN1(3,0);
21296 && INSN1(15,12) == BITS4(1,1,1,1)
21297 && INSN1(7,4) == BITS4(1,0,1,0)) {
21299 UInt rD = INSN1(11,8);
21300 UInt rM2 = INSN1(3,0);
21314 && INSN1(15,12) == BITS4(1,1,1,1)
21315 && ( INSN1(7,4) == BITS4(1,0,0,0) // REV
21316 || INSN1(7,4) == BITS4(1,0,0,1))) { // REV16
21318 UInt rD = INSN1(11,8);
21319 UInt rM2 = INSN1(3,0);
21320 Bool isREV = INSN1(7,4) == BITS4(1,0,0,0);
21333 && INSN1(15,12) == BITS4(1,1,1,1)
21334 && INSN1(7,4) == BITS4(1,0,1,1)) {
21336 UInt rM2 = INSN1(3,0);
21337 UInt rD = INSN1(11,8);
21367 && INSN1(15,12) == BITS4(1,0,0,0) && INSN1(9,0) == 0x000) {
21369 UInt write_ge = INSN1(10,10);
21370 UInt write_nzcvq = INSN1(11,11);
21383 && INSN1(15,12) == BITS4(1,0,0,0) && INSN1(7,0) == 0x00) {
21384 UInt rD = INSN1(11,8);
21394 if (INSN0(15,4) == 0xE85 && INSN1(11,8) == BITS4(1,1,1,1)) {
21396 UInt rT = INSN1(15,12);
21397 UInt imm8 = INSN1(7,0);
21416 && (INSN1(11,0) == 0xF4F || INSN1(11,0) == 0xF5F)) {
21418 UInt rT = INSN1(15,12);
21419 Bool isH = INSN1(11,0) == 0xF5F;
21436 if (INSN0(15,4) == 0xE8D && INSN1(7,0) == 0x7F) {
21438 UInt rT = INSN1(15,12);
21439 UInt rT2 = INSN1(11,8);
21460 UInt rT = INSN1(15,12);
21461 UInt rD = INSN1(11,8);
21462 UInt imm8 = INSN1(7,0);
21488 && (INSN1(11,4) == 0xF4 || INSN1(11,4) == 0xF5)) {
21490 UInt rT = INSN1(15,12);
21491 UInt rD = INSN1(3,0);
21492 Bool isH = INSN1(11,4) == 0xF5;
21516 if (INSN0(15,4) == 0xE8C && INSN1(7,4) == BITS4(0,1,1,1)) {
21518 UInt rT = INSN1(15,12);
21519 UInt rT2 = INSN1(11,8);
21520 UInt rD = INSN1(3,0);
21546 if (INSN0(15,0) == 0xF3BF && (INSN1(15,0) & 0xFF00) == 0x8F00) {
21552 switch (INSN1(7,0)) {
21585 if ((INSN0(15,4) & 0xFFD) == 0xF89 && INSN1(15,12) == 0xF) {
21590 UInt imm12 = INSN1(11,0);
21595 if ((INSN0(15,4) & 0xFFD) == 0xF81 && INSN1(15,8) == 0xFC) {
21600 UInt imm8 = INSN1(7,0);
21605 if ((INSN0(15,4) & 0xFFD) == 0xF81 && INSN1(15,6) == 0x3C0) {
21609 UInt rM = INSN1(3,0);
21611 UInt imm2 = INSN1(5,4);
21626 if ((INSN0(15,0) == 0xEE1D) && (INSN1(11,0) == 0x0F70)) {
21627 UInt rD = INSN1(15,12);
21641 if ((INSN0(15,0) == 0xEE19) && (INSN1(11,0) == 0x0F1E)) {
21642 UInt rD = INSN1(15,12);
21652 if (INSN0(15,0) == 0xF3BF && INSN1(15,0) == 0x8F2F) {
21663 if (INSN0(15,0) == 0xF3AF && INSN1(15,0) == 0x8000) {
21673 && INSN1(11,8) == BITS4(1,1,1,0)) {
21674 UInt rT = INSN1(15,12);
21676 UInt imm8 = INSN1(7,0);
21696 && INSN1(11,8) == BITS4(1,1,1,0)) {
21697 UInt rT = INSN1(15,12);
21699 UInt imm8 = INSN1(7,0);
21717 && INSN1(11,8) == BITS4(1,1,1,0)) {
21718 UInt rT = INSN1(15,12);
21720 UInt imm8 = INSN1(7,0);
21739 && INSN1(11,8) == BITS4(1,1,1,0)) {
21748 UInt rT = INSN1(15,12);
21749 UInt imm8 = INSN1(7,0);
21768 && INSN1(11,8) == BITS4(1,1,1,0)) {
21777 UInt rT = INSN1(15,12);
21778 UInt imm8 = INSN1(7,0);
21797 && INSN1(11,8) == BITS4(1,1,1,0)) {
21798 UInt rT = INSN1(15,12);
21800 UInt imm8 = INSN1(7,0);
21819 && INSN1(11,8) == BITS4(1,1,1,0)) {
21821 UInt rT = INSN1(15,12);
21822 UInt imm8 = INSN1(7,0);
21843 && INSN1(11,8) == BITS4(1,1,1,0)) {
21846 UInt rT = INSN1(15,12);
21847 UInt imm8 = INSN1(7,0);
21867 && INSN1(15,12) == BITS4(1,1,1,1)) {
21869 UInt imm12 = INSN1(11,0);
21881 && INSN1(15,8) == BITS8(1,1,1,1,1,1,0,0)) {
21883 UInt imm8 = INSN1(7,0);
21896 && INSN1(15,12) == BITS4(1,1,1,1)) {
21897 UInt imm12 = INSN1(11,0);
21908 UInt insn28 = (INSN0(11,0) << 16) | INSN1(15,0);
21922 UInt insn32 = (INSN0(15,0) << 16) | INSN1(15,0);
21934 { UInt insn32 = (INSN0(15,0) << 16) | INSN1(15,0);
21954 "0x%04x 0x%04x\n", (UInt)insn0, (UInt)insn1);
21997 # undef INSN1