Merging r260390:
authorHans Wennborg <hans@hanshq.net>
Tue, 16 Feb 2016 23:22:17 +0000 (23:22 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 16 Feb 2016 23:22:17 +0000 (23:22 +0000)
commit07fd930a2be55b0789737cd9769f0d0e42def3a7
tree6edf4d6ffd75cafad1744ccfbc99ab4ea7102aa1
parentb7b1a389f7d546dbe6a67aa3bb0e66f689e99c1b
Merging r260390:
------------------------------------------------------------------------
r260390 | jyknight | 2016-02-10 09:47:20 -0800 (Wed, 10 Feb 2016) | 12 lines

[SPARC] Repair floating-point condition encodings in assembly parser.

The encodings for floating point conditions A(lways) and N(ever) were
incorrectly specified for the assembly parser, per Sparc manual v8 page
121. This change corrects that mistake.

Also, strangely, all of the branch instructions already had MC test
cases, except for the broken ones. Added the tests.

Patch by Chris Dewhurst

Differential Revision: http://reviews.llvm.org/D17074
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@261031 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcInstrAliases.td
test/MC/Sparc/sparc-ctrl-instructions.s
test/MC/Sparc/sparc64-ctrl-instructions.s