Add new subset of Core Instructions (not full yet). Add appropriate operands description,
modify asm parser, printer and code emitter. Modify tests to support new instructions.
Details
Details
Diff Detail
Diff Detail
Event Timeline
llvm/lib/Target/Xtensa/AsmParser/XtensaAsmParser.cpp | ||
---|---|---|
137–139 | There are already various forms of isInt/isUInt in MathExtras.h |
llvm/lib/Target/Xtensa/AsmParser/XtensaAsmParser.cpp | ||
---|---|---|
137–139 | Did you mean do not create/use special functions isImm and inRange? Initially I used the same approach as in SystemZ and AArch64 architecture, because we need to check whether expression immediate and also get value of it. |
Comment Actions
Patch is updated according to LLVM upstream version and latest Xtensa backend version.
Comment Actions
Correct instruction descriptions, format descriptions and instruction operands according to common style for *.td files. The llvm_unreachable is substituted to report_fatal_error.
Comment Actions
Minor corrections, changed argument names in the XtensaInstPrinter::printMemOperand function.