Displaying 1 result from an estimated 1 matches for "c_memori".
Did you mean:
c_memory
2013 Feb 28
0
[LLVMdev] [cfe-dev] [MIPS] How can I add a constraint to LLVM/Clang for MIPS BE?
Hi all,
I find clang-mips doesn't support constraint 'R' and I'm trying make
LLVM/Clang support it.
I did a little job, but Clang can not generate right code, it use the
same register in inline asm,
and the binary will segment fault in MIPS environment.
My test case:
/* constraint.c */
#include <stdio.h>
int main(int argc, char* argv[])
{
int a = 4;
int b = 10;