llvm-6502/test/MC/ARM64
Tim Northover a9a94ce839 TableGen: fix operand counting for aliases
TableGen has a fairly dubious heuristic to decide whether an alias should be
printed: does the alias have lest operands than the real instruction. This is
bad enough (particularly with no way to override it), but it should at least be
calculated consistently for both strings.

This patch implements that logic: first get the *correct* string for the
variant, in the same way as the Matcher, without guessing; then count the
number of whitespace chars.

There are basically 4 changes this brings about after the previous
commits; all of these appear to be good, so I have changed the tests:

+ ARM64: we print "neg X, Y" instead of "sub X, xzr, Y".
+ ARM64: we skip implicit "uxtx" and "uxtw" modifiers.
+ Sparc: we print "mov A, B" instead of "or %g0, A, B".
+ Sparc: we print "fcmpX A, B" instead of "fcmpX %fcc0, A, B"

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208969 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-16 09:42:04 +00:00
..
adr.s [ARM64] Fixup ADR/ADRP parsing such that they accept immediates and all labels types 2014-04-09 14:44:12 +00:00
advsimd.s ARM64: print correct aliases for NEON mov & mvn instructions 2014-05-15 12:11:02 +00:00
aliases.s TableGen: fix operand counting for aliases 2014-05-16 09:42:04 +00:00
arithmetic-encoding.s TableGen: fix operand counting for aliases 2014-05-16 09:42:04 +00:00
arm64-fixup.s
basic-a64-instructions.s [ARM64] Support crc predicate on ARM64. 2014-04-25 09:25:42 +00:00
be-datalayout.s Move a testcase from ELF to ARM64, incorrectly placed in r207627. 2014-04-30 21:31:11 +00:00
bitfield-encoding.s AArch64/ARM64: print BFM instructions as BFI or BFXIL 2014-05-01 12:29:38 +00:00
branch-encoding.s AArch64/ARM64: use HS instead of CS & LO instead of CC. 2014-04-30 13:14:03 +00:00
condbr-without-dots.s AArch64/ARM64: copy support for bCC instead of b.CC across. 2014-04-30 13:36:56 +00:00
crypto.s [ARM64] Enable feature predicates for NEON / FP / CRYPTO. 2014-04-23 06:22:48 +00:00
diagno-predicate.s [ARM64] Support crc predicate on ARM64. 2014-04-25 09:25:42 +00:00
diags.s [ARM64] Improve load/store diagnostics and forbid 32-bit register addresses 2014-05-15 11:08:30 +00:00
directive_loh.s
elf-reloc-condbr.s MC: move ARM64 test from AArch64 directory 2014-04-23 21:29:40 +00:00
elf-relocs.s ARM64: accept ELF-relocated load/store insts without a #. 2014-04-30 12:00:20 +00:00
fp-encoding.s ARM64: print fp immediates without using scientific notation. 2014-04-30 16:13:34 +00:00
large-relocs.s AArch64/ARM64: only mangle MOVZ/MOVN during encoding when needed 2014-04-15 14:00:15 +00:00
leaf-compact-unwind.s Move test to the ARM64 directory. 2014-05-05 16:14:37 +00:00
lit.local.cfg [Test] Trim unnecessary .c and .cpp from config.suffix in lit.local.cfg 2014-05-12 19:57:31 +00:00
logical-encoding.s
mapping-across-sections.s
mapping-within-section.s
memory.s ARM64: [su]xtw use W regs as inputs, not X regs. 2014-04-17 20:47:31 +00:00
nv-cond.s [ARM64] Enable feature predicates for NEON / FP / CRYPTO. 2014-04-23 06:22:48 +00:00
optional-hash.s ARM64: print fp immediates without using scientific notation. 2014-04-30 16:13:34 +00:00
separator.s Fix some doc and comment typos 2014-04-09 14:47:27 +00:00
simd-ldst.s [ARM64] Enable feature predicates for NEON / FP / CRYPTO. 2014-04-23 06:22:48 +00:00
small-data-fixups.s
spsel-sysreg.s AArch64/ARM64: produce more informative diagnostic assembling some immediates 2014-05-06 11:18:53 +00:00
system-encoding.s [ARM64] Improve diagnostics for Cn operands in SYS instructions 2014-05-15 16:28:32 +00:00
target-specific-sysreg.s [ARM64] Conditionalize CPU specific system registers on subtarget features 2014-05-01 10:25:36 +00:00
tls-modifiers-darwin.s [ARM64] Rename LR to the UAL-compliant 'X30'. 2014-04-09 14:43:59 +00:00
tls-relocs.s ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
v128_lo-diagnostics.s ARM64: diagnose use of v16-v31 in certain indexed NEON instructions. 2014-04-28 11:27:43 +00:00
variable-exprs.s
vector-lists.s AArch64/ARM64: make NEON vector list parsing a bit more robust 2014-05-06 12:50:51 +00:00
verbose-vector-case.s [ARM64] Enable feature predicates for NEON / FP / CRYPTO. 2014-04-23 06:22:48 +00:00