mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
replace stuff like:
let AsmString = !strconcat( !strconcat(!strconcat(opc, "${p}"), !strconcat(".", dt)), !strconcat("\t", asm)); with: let AsmString = !strconcat(opc, "${p}", ".", dt, "\t", asm); :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115720 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d978a75b4
commit
78caacc226
@ -243,7 +243,7 @@ class I<dag oops, dag iops, AddrMode am, SizeFlagVal sz,
|
||||
: InstARM<am, sz, im, f, GenericDomain, cstr, itin> {
|
||||
let OutOperandList = oops;
|
||||
let InOperandList = !con(iops, (ins pred:$p));
|
||||
let AsmString = !strconcat(opc, !strconcat("${p}", asm));
|
||||
let AsmString = !strconcat(opc, "${p}", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [IsARM];
|
||||
}
|
||||
@ -272,7 +272,7 @@ class sI<dag oops, dag iops, AddrMode am, SizeFlagVal sz,
|
||||
: InstARM<am, sz, im, f, GenericDomain, cstr, itin> {
|
||||
let OutOperandList = oops;
|
||||
let InOperandList = !con(iops, (ins pred:$p, cc_out:$s));
|
||||
let AsmString = !strconcat(opc, !strconcat("${p}${s}", asm));
|
||||
let AsmString = !strconcat(opc, "${p}${s}", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [IsARM];
|
||||
}
|
||||
@ -1025,7 +1025,7 @@ class Thumb1sI<dag oops, dag iops, AddrMode am, SizeFlagVal sz,
|
||||
: InstThumb<am, sz, IndexModeNone, ThumbFrm, GenericDomain, cstr, itin> {
|
||||
let OutOperandList = !con(oops, (outs s_cc_out:$s));
|
||||
let InOperandList = !con(iops, (ins pred:$p));
|
||||
let AsmString = !strconcat(opc, !strconcat("${s}${p}", asm));
|
||||
let AsmString = !strconcat(opc, "${s}${p}", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [IsThumb1Only];
|
||||
}
|
||||
@ -1047,7 +1047,7 @@ class Thumb1pI<dag oops, dag iops, AddrMode am, SizeFlagVal sz,
|
||||
: InstThumb<am, sz, IndexModeNone, ThumbFrm, GenericDomain, cstr, itin> {
|
||||
let OutOperandList = oops;
|
||||
let InOperandList = !con(iops, (ins pred:$p));
|
||||
let AsmString = !strconcat(opc, !strconcat("${p}", asm));
|
||||
let AsmString = !strconcat(opc, "${p}", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [IsThumb1Only];
|
||||
}
|
||||
@ -1126,7 +1126,7 @@ class Thumb2I<dag oops, dag iops, AddrMode am, SizeFlagVal sz,
|
||||
: InstARM<am, sz, IndexModeNone, ThumbFrm, GenericDomain, cstr, itin> {
|
||||
let OutOperandList = oops;
|
||||
let InOperandList = !con(iops, (ins pred:$p));
|
||||
let AsmString = !strconcat(opc, !strconcat("${p}", asm));
|
||||
let AsmString = !strconcat(opc, "${p}", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [IsThumb2];
|
||||
}
|
||||
@ -1143,7 +1143,7 @@ class Thumb2sI<dag oops, dag iops, AddrMode am, SizeFlagVal sz,
|
||||
: InstARM<am, sz, IndexModeNone, ThumbFrm, GenericDomain, cstr, itin> {
|
||||
let OutOperandList = oops;
|
||||
let InOperandList = !con(iops, (ins pred:$p, cc_out:$s));
|
||||
let AsmString = !strconcat(opc, !strconcat("${s}${p}", asm));
|
||||
let AsmString = !strconcat(opc, "${s}${p}", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [IsThumb2];
|
||||
}
|
||||
@ -1227,7 +1227,7 @@ class T2Iidxldst<bit signed, bits<2> opcod, bit load, bit pre,
|
||||
: InstARM<am, Size4Bytes, im, ThumbFrm, GenericDomain, cstr, itin> {
|
||||
let OutOperandList = oops;
|
||||
let InOperandList = !con(iops, (ins pred:$p));
|
||||
let AsmString = !strconcat(opc, !strconcat("${p}", asm));
|
||||
let AsmString = !strconcat(opc, "${p}", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [IsThumb2];
|
||||
let Inst{31-27} = 0b11111;
|
||||
@ -1283,7 +1283,7 @@ class VFPI<dag oops, dag iops, AddrMode am, SizeFlagVal sz,
|
||||
: InstARM<am, sz, im, f, VFPDomain, cstr, itin> {
|
||||
let OutOperandList = oops;
|
||||
let InOperandList = !con(iops, (ins pred:$p));
|
||||
let AsmString = !strconcat(opc, !strconcat("${p}", asm));
|
||||
let AsmString = !strconcat(opc, "${p}", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [HasVFP2];
|
||||
}
|
||||
@ -1513,9 +1513,7 @@ class NeonI<dag oops, dag iops, AddrMode am, IndexMode im, Format f,
|
||||
: InstARM<am, Size4Bytes, im, f, NeonDomain, cstr, itin> {
|
||||
let OutOperandList = oops;
|
||||
let InOperandList = !con(iops, (ins pred:$p));
|
||||
let AsmString = !strconcat(
|
||||
!strconcat(!strconcat(opc, "${p}"), !strconcat(".", dt)),
|
||||
!strconcat("\t", asm));
|
||||
let AsmString = !strconcat(opc, "${p}", ".", dt, "\t", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [HasNEON];
|
||||
}
|
||||
@ -1527,7 +1525,7 @@ class NeonXI<dag oops, dag iops, AddrMode am, IndexMode im, Format f,
|
||||
: InstARM<am, Size4Bytes, im, f, NeonDomain, cstr, itin> {
|
||||
let OutOperandList = oops;
|
||||
let InOperandList = !con(iops, (ins pred:$p));
|
||||
let AsmString = !strconcat(!strconcat(opc, "${p}"), !strconcat("\t", asm));
|
||||
let AsmString = !strconcat(opc, "${p}", "\t", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [HasNEON];
|
||||
}
|
||||
@ -1673,9 +1671,7 @@ class NVLaneOp<bits<8> opcod1, bits<4> opcod2, bits<2> opcod3,
|
||||
|
||||
let OutOperandList = oops;
|
||||
let InOperandList = !con(iops, (ins pred:$p));
|
||||
let AsmString = !strconcat(
|
||||
!strconcat(!strconcat(opc, "${p}"), !strconcat(".", dt)),
|
||||
!strconcat("\t", asm));
|
||||
let AsmString = !strconcat(opc, "${p}", ".", dt, "\t", asm);
|
||||
let Pattern = pattern;
|
||||
list<Predicate> Predicates = [HasNEON];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user