mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add support for AVX enhanced comparison predicates. Patch from Kay Tiong Khoo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153935 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1527,6 +1527,9 @@ static int readOperands(struct InternalInstruction* insn) {
|
||||
if (insn->spec->operands[index].type == TYPE_IMM3 &&
|
||||
insn->immediates[insn->numImmediatesConsumed - 1] > 7)
|
||||
return -1;
|
||||
if (insn->spec->operands[index].type == TYPE_IMM5 &&
|
||||
insn->immediates[insn->numImmediatesConsumed - 1] > 31)
|
||||
return -1;
|
||||
if (insn->spec->operands[index].type == TYPE_XMM128 ||
|
||||
insn->spec->operands[index].type == TYPE_XMM256)
|
||||
sawRegImm = 1;
|
||||
|
Reference in New Issue
Block a user