From cca07716f5c788db8dac448c9cdd05b8d5bd2bc4 Mon Sep 17 00:00:00 2001 From: Ahmed Bougacha Date: Wed, 2 Sep 2015 18:38:36 +0000 Subject: [PATCH] [AArch64] Consistently separate asm opc and operands with '\t'. Some of the instructions use ' ', which drives OCD-me nuts. Let's put an end to this. NFC-ish: hopefully nobody cares about whitespace. llvm-svn: 246686 --- .../lib/Target/AArch64/AArch64InstrFormats.td | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/llvm/lib/Target/AArch64/AArch64InstrFormats.td b/llvm/lib/Target/AArch64/AArch64InstrFormats.td index 22e91d75b2a8..c39093a5be9a 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrFormats.td +++ b/llvm/lib/Target/AArch64/AArch64InstrFormats.td @@ -2525,7 +2525,7 @@ class LoadStore8RO sz, bit V, bits<2> opc, RegisterClass regtype, } class ROInstAlias - : InstAlias; multiclass Load8RO sz, bit V, bits<2> opc, RegisterClass regtype, @@ -2951,7 +2951,7 @@ multiclass LoadUnscaled sz, bit V, bits<2> opc, RegisterClass regtype, (ins GPR64sp:$Rn, simm9:$offset), asm, pattern>, Sched<[WriteLD]>; - def : InstAlias(NAME # "i") regtype:$Rt, GPR64sp:$Rn, 0)>; } @@ -2963,7 +2963,7 @@ multiclass StoreUnscaled sz, bit V, bits<2> opc, RegisterClass regtype, asm, pattern>, Sched<[WriteST]>; - def : InstAlias(NAME # "i") regtype:$Rt, GPR64sp:$Rn, 0)>; } @@ -2975,7 +2975,7 @@ multiclass PrefetchUnscaled sz, bit V, bits<2> opc, string asm, asm, pat>, Sched<[WriteLD]>; - def : InstAlias(NAME # "i") prfop:$Rt, GPR64sp:$Rn, 0)>; } @@ -3010,7 +3010,7 @@ multiclass LoadUnprivileged sz, bit V, bits<2> opc, (ins GPR64sp:$Rn, simm9:$offset), asm>, Sched<[WriteLD]>; - def : InstAlias(NAME # "i") regtype:$Rt, GPR64sp:$Rn, 0)>; } @@ -3022,7 +3022,7 @@ multiclass StoreUnprivileged sz, bit V, bits<2> opc, asm>, Sched<[WriteST]>; - def : InstAlias(NAME # "i") regtype:$Rt, GPR64sp:$Rn, 0)>; } @@ -3153,7 +3153,7 @@ multiclass LoadPairOffset opc, bit V, RegisterClass regtype, (ins GPR64sp:$Rn, indextype:$offset), asm>, Sched<[WriteLD, WriteLDHi]>; - def : InstAlias(NAME # "i") regtype:$Rt, regtype:$Rt2, GPR64sp:$Rn, 0)>; } @@ -3168,7 +3168,7 @@ multiclass StorePairOffset opc, bit V, RegisterClass regtype, asm>, Sched<[WriteSTP]>; - def : InstAlias(NAME # "i") regtype:$Rt, regtype:$Rt2, GPR64sp:$Rn, 0)>; } @@ -4791,17 +4791,17 @@ multiclass SIMDFPCmpTwoVector opc, asm, ".2d", "0.0", v2i64, v2f64, OpNode>; - def : InstAlias(NAME # v2i32rz) V64:$Vd, V64:$Vn), 0>; - def : InstAlias(NAME # v4i32rz) V128:$Vd, V128:$Vn), 0>; - def : InstAlias(NAME # v2i64rz) V128:$Vd, V128:$Vn), 0>; - def : InstAlias(NAME # v2i32rz) V64:$Vd, V64:$Vn), 0>; - def : InstAlias(NAME # v4i32rz) V128:$Vd, V128:$Vn), 0>; - def : InstAlias(NAME # v2i64rz) V128:$Vd, V128:$Vn), 0>; } @@ -5589,9 +5589,9 @@ multiclass SIMDFPCmpTwoScalar opc, string asm, def v1i64rz : BaseSIMDCmpTwoScalar; def v1i32rz : BaseSIMDCmpTwoScalar; - def : InstAlias(NAME # v1i64rz) FPR64:$Rd, FPR64:$Rn), 0>; - def : InstAlias(NAME # v1i32rz) FPR32:$Rd, FPR32:$Rn), 0>; def : Pat<(v1i64 (OpNode (v1f64 FPR64:$Rn))), @@ -5947,7 +5947,7 @@ class SIMDInsMainMovAlias : InstAlias<"mov" # "{\t$dst" # size # "$idx, $src" # size # "$idx2" # - # "|" # size #" $dst$idx, $src$idx2}", + # "|" # size #"\t$dst$idx, $src$idx2}", (inst V128:$dst, idxtype:$idx, V128:$src, idxtype:$idx2)>;