Displaying 2 results from an estimated 2 matches for "op16".
Did you mean:
op1
2012 Nov 02
0
[LLVMdev] Alternate instruction encoding for subtargets - SOLVED
...= ins;
let AsmString = asmstr;
let Pattern = pattern;
}
My instruction formats classes encode the same instruction twice: into
the Inst and Inst6 fields. The operation subcode which is different
between the sub-targets is also specified twice in the class
parameters as the op13 (KCPSM3) and op16 (KCPSM6) argument.
class AJumpCC<bits<6> op13, bits<6> op16,
dag outs, dag ins, string asmstr, list<dag> pattern>
: InstPB<FCCAA, outs, ins, asmstr, pattern>
{
bits<2> cc; // condition codes
bits<12> dst; // a...
2005 Apr 02
1
[PATCH] VMX support for MMIO/PIO in VM8086 mode
...handling 0x67 (yet)\n");
+ domain_crash_synchronous();
break;
default:
return inst;
@@ -165,7 +175,7 @@
}
}
-static inline unsigned long get_immediate(const unsigned char *inst, int op_size)
+static inline unsigned long get_immediate(int op16, const unsigned char *inst, int op_size)
{
int mod, reg, rm;
unsigned long val = 0;
@@ -183,14 +193,21 @@
switch(mod) {
case 0:
if (rm == 5) {
- inst = inst + 4; //disp32, skip 4 bytes
+ if (op16)
+ inst = inst + 2; //disp16,...