Displaying 6 results from an estimated 6 matches for "ismem".
Did you mean:
iomem
2008 Oct 02
1
[LLVMdev] build broken (a different way)
...fno-exceptions -fno-zero-initialized-in-bss
-fno-toplevel-reorder -fno-omit-frame-pointer \
-c ../../gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
cc1: X86ATTAsmPrinter.cpp:543: void
llvm::X86ATTAsmPrinter::printMemReference(const llvm::MachineInstr*,
unsigned int, const char*): Assertion `isMem(MI, Op) && "Invalid memory
reference!"' failed.
../../gcc/crtstuff.c:378: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[2]: *** [crtbegin...
2004 Dec 02
3
[LLVMdev] Adding xadd instruction to X86
...<integer type> <value>)
I currently have the following code (PtrReg contains the
pointer argument, ValReg the value arg, and TmpReg an unused
register.):
addDirectMem(BuildMI(BB, X86::XADD32mr, 4,
TmpReg).addReg(TwoReg), ValReg);
This fails the assertion isMem. Any help with this would be
appreciated.
Thanks,
Brent
2013 Jul 16
0
[LLVMdev] [PATCH 2/2] X86: infer immediate forms of bit-test instructions
...;l") || Name.endswith("q"))
+ && Operands.size() == 3) {
+ X86Operand &Op1 = *(X86Operand*)Operands.begin()[1];
+ X86Operand &Op2 = *(X86Operand*)Operands.begin()[2];
+
+ if (Op1.isImm() && isa<MCConstantExpr>(Op1.getImm()) &&
+ Op2.isMem() && isa<MCConstantExpr>(Op2.Mem.Disp)) {
+ int64_t Given_imm = cast<MCConstantExpr>(Op1.getImm())->getValue();
+ int64_t Given_mem = cast<MCConstantExpr>(Op2.Mem.Disp)->getValue();
+
+ static_cast<X86Operand*>(Operands[0])->setTokenValue(Stri...
2005 Jul 01
0
[LLVMdev] X86AsmPrinter + MASM and NASM backends
...for how they are
written as examples.
3. Please #include X86ASmPrinter.h first in X86asmPrinter.cpp (see the
coding standard for justification). This will expose the fact that the
.h file needs some #includes to be self contained.
4. I think it would be a good idea to make the isScale/isMem methods
inline in the header file, even if that means more #includes are
needed in the .h file. These are pretty performance sensitive for the
printers, so it would be good for them to be inlined.
5. Please add #include guards around the headers (#ifndef XX_H/#define
XX_H), like th...
2018 Sep 28
3
error: expected memory with 32-bit signed offset
Hi,
I want to encode Loongson ISA initially
https://gist.github.com/xiangzhai/8ae6966e2f02a94e180dd16ff1cd60ac
gslbx $2,0($3,$4)
It is equivalent to:
dadd $1, $3, $4
lb $2,0($1)
I just use mem_simmptr as the default value of DAGOperand MO ,
because MipsMemAsmOperand use parseMemOperand to parse general
MemOffset and only *one* AnyRegister , for example:
0($1)
But
2005 Jun 30
4
[LLVMdev] X86AsmPrinter + MASM and NASM backends
I have "refactored" the X86AsmPrinter into a number of files ready for the MASM and NASM backends to be added.
There is a new namespace llvm::X86 to replace the anomonous namespace as this does not work accross mutiple .h and .cpp files. Other than that everything is pritty straight forward, t may possibly need tweeking though.
It has been built under MS VS2003, but I am not sure how