mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
More AVX2 instructions and their intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -95,7 +95,10 @@ static inline bool inheritsFrom(InstructionContext child,
|
||||
case IC_VEX_L:
|
||||
case IC_VEX_L_XS:
|
||||
case IC_VEX_L_XD:
|
||||
return false;
|
||||
case IC_VEX_L_OPSIZE:
|
||||
return inheritsFrom(child, IC_VEX_L_W_OPSIZE);
|
||||
case IC_VEX_L_W_OPSIZE:
|
||||
return false;
|
||||
default:
|
||||
llvm_unreachable("Unknown instruction class");
|
||||
@ -494,7 +497,9 @@ void DisassemblerTables::emitContextTable(raw_ostream &o, uint32_t &i) const {
|
||||
for (index = 0; index < 256; ++index) {
|
||||
o.indent(i * 2);
|
||||
|
||||
if ((index & ATTR_VEXL) && (index & ATTR_OPSIZE))
|
||||
if ((index & ATTR_VEXL) && (index & ATTR_REXW) && (index & ATTR_OPSIZE))
|
||||
o << "IC_VEX_L_W_OPSIZE";
|
||||
else if ((index & ATTR_VEXL) && (index & ATTR_OPSIZE))
|
||||
o << "IC_VEX_L_OPSIZE";
|
||||
else if ((index & ATTR_VEXL) && (index & ATTR_XD))
|
||||
o << "IC_VEX_L_XD";
|
||||
|
Reference in New Issue
Block a user