# RUN: llvm-mc --disassemble %s -triple powerpc64-bgq-linux -mcpu=a2q | FileCheck %s
# CHECK: qvfabs 3, 5
0x10 0x60 0x2a 0x10
# CHECK: qvfadd 3, 4, 5
0x10 0x64 0x28 0x2a
# CHECK: qvfadds 3, 4, 5
0x00 0x64 0x28 0x2a
# CHECK: qvfandc 3, 4, 5
0x10 0x64 0x2a 0x08
# CHECK: qvfand 3, 4, 5
0x10 0x64 0x28 0x88
# CHECK: qvfcfid 3, 5
0x10 0x60 0x2e 0x9c
# CHECK: qvfcfids 3, 5
0x00 0x60 0x2e 0x9c
# CHECK: qvfcfidu 3, 5
0x10 0x60 0x2f 0x9c
# CHECK: qvfcfidus 3, 5
0x00 0x60 0x2f 0x9c
# CHECK: qvfclr 3
0x10 0x63 0x18 0x08
# CHECK: qvfcpsgn 3, 4, 5
0x10 0x64 0x28 0x10
# CHECK: qvfctfb 3, 4
0x10 0x64 0x22 0x88
# CHECK: qvfctid 3, 5
0x10 0x60 0x2e 0x5c
# CHECK: qvfctidu 3, 5
0x10 0x60 0x2f 0x5c
# CHECK: qvfctiduz 3, 5
0x10 0x60 0x2f 0x5e
# CHECK: qvfctidz 3, 5
0x10 0x60 0x2e 0x5e
# CHECK: qvfctiw 3, 5
0x10 0x60 0x28 0x1c
# CHECK: qvfctiwu 3, 5
0x10 0x60 0x29 0x1c
# CHECK: qvfctiwuz 3, 5
0x10 0x60 0x29 0x1e
# CHECK: qvfctiwz 3, 5
0x10 0x60 0x28 0x1e
# CHECK: qvfequ 3, 4, 5
0x10 0x64 0x2c 0x88
# CHECK: qvflogical 3, 4, 5, 12
0x10 0x64 0x2e 0x08
# CHECK: qvfmadd 3, 4, 6, 5
0x10 0x64 0x29 0xba
# CHECK: qvfmadds 3, 4, 6, 5
0x00 0x64 0x29 0xba
# CHECK: qvfmr 3, 5
0x10 0x60 0x28 0x90
# CHECK: qvfmsub 3, 4, 6, 5
0x10 0x64 0x29 0xb8
# CHECK: qvfmsubs 3, 4, 6, 5
0x00 0x64 0x29 0xb8
# CHECK: qvfmul 3, 4, 6
0x10 0x64 0x01 0xb2
# CHECK: qvfmuls 3, 4, 6
0x00 0x64 0x01 0xb2
# CHECK: qvfnabs 3, 5
0x10 0x60 0x29 0x10
# CHECK: qvfnand 3, 4, 5
0x10 0x64 0x2f 0x08
# CHECK: qvfneg 3, 5
0x10 0x60 0x28 0x50
# CHECK: qvfnmadd 3, 4, 6, 5
0x10 0x64 0x29 0xbe
# CHECK: qvfnmadds 3, 4, 6, 5
0x00 0x64 0x29 0xbe
# CHECK: qvfnmsub 3, 4, 6, 5
0x10 0x64 0x29 0xbc
# CHECK: qvfnmsubs 3, 4, 6, 5
0x00 0x64 0x29 0xbc
# CHECK: qvfnor 3, 4, 5
0x10 0x64 0x2c 0x08
# CHECK: qvfnot 3, 4
0x10 0x64 0x25 0x08
# CHECK: qvforc 3, 4, 5
0x10 0x64 0x2e 0x88
# CHECK: qvfor 3, 4, 5
0x10 0x64 0x2b 0x88
# CHECK: qvfperm 3, 4, 5, 6
0x10 0x64 0x29 0x8c
# CHECK: qvfre 3, 5
0x10 0x60 0x28 0x30
# CHECK: qvfres 3, 5
0x00 0x60 0x28 0x30
# CHECK: qvfrim 3, 5
0x10 0x60 0x2b 0xd0
# CHECK: qvfrin 3, 5
0x10 0x60 0x2b 0x10
# CHECK: qvfrip 3, 5
0x10 0x60 0x2b 0x90
# CHECK: qvfriz 3, 5
0x10 0x60 0x2b 0x50
# CHECK: qvfrsp 3, 5
0x10 0x60 0x28 0x18
# CHECK: qvfrsqrte 3, 5
0x10 0x60 0x28 0x34
# CHECK: qvfrsqrtes 3, 5
0x00 0x60 0x28 0x34
# CHECK: qvfsel 3, 4, 6, 5
0x10 0x64 0x29 0xae
# CHECK: qvfset 3
0x10 0x63 0x1f 0x88
# CHECK: qvfsub 3, 4, 5
0x10 0x64 0x28 0x28
# CHECK: qvfsubs 3, 4, 5
0x00 0x64 0x28 0x28
# CHECK: qvfxmadd 3, 4, 6, 5
0x10 0x64 0x29 0x92
# CHECK: qvfxmadds 3, 4, 6, 5
0x00 0x64 0x29 0x92
# CHECK: qvfxmul 3, 4, 6
0x10 0x64 0x01 0xa2
# CHECK: qvfxmuls 3, 4, 6
0x00 0x64 0x01 0xa2
# CHECK: qvfxor 3, 4, 5
0x10 0x64 0x2b 0x08
# CHECK: qvfxxcpnmadd 3, 4, 6, 5
0x10 0x64 0x29 0x86
# CHECK: qvfxxcpnmadds 3, 4, 6, 5
0x00 0x64 0x29 0x86
# CHECK: qvfxxmadd 3, 4, 6, 5
0x10 0x64 0x29 0x82
# CHECK: qvfxxmadds 3, 4, 6, 5
0x00 0x64 0x29 0x82
# CHECK: qvfxxnpmadd 3, 4, 6, 5
0x10 0x64 0x29 0x96
# CHECK: qvfxxnpmadds 3, 4, 6, 5
0x00 0x64 0x29 0x96
# CHECK: qvlfcduxa 3, 9, 11
0x7c 0x69 0x58 0xcf
# CHECK: qvlfcdux 3, 9, 11
0x7c 0x69 0x58 0xce
# CHECK: qvlfcdxa 3, 10, 11
0x7c 0x6a 0x58 0x8f
# CHECK: qvlfcdx 3, 10, 11
0x7c 0x6a 0x58 0x8e
# CHECK: qvlfcsuxa 3, 9, 11
0x7c 0x69 0x58 0x4f
# CHECK: qvlfcsux 3, 9, 11
0x7c 0x69 0x58 0x4e
# CHECK: qvlfcsxa 3, 10, 11
0x7c 0x6a 0x58 0x0f
# CHECK: qvlfcsx 3, 10, 11
0x7c 0x6a 0x58 0x0e
# CHECK: qvlfduxa 3, 9, 11
0x7c 0x69 0x5c 0xcf
# CHECK: qvlfdux 3, 9, 11
0x7c 0x69 0x5c 0xce
# CHECK: qvlfdxa 3, 10, 11
0x7c 0x6a 0x5c 0x8f
# CHECK: qvlfdx 3, 10, 11
0x7c 0x6a 0x5c 0x8e
# CHECK: qvlfiwaxa 3, 10, 11
0x7c 0x6a 0x5e 0xcf
# CHECK: qvlfiwax 3, 10, 11
0x7c 0x6a 0x5e 0xce
# CHECK: qvlfiwzxa 3, 10, 11
0x7c 0x6a 0x5e 0x8f
# CHECK: qvlfiwzx 3, 10, 11
0x7c 0x6a 0x5e 0x8e
# CHECK: qvlfsuxa 3, 9, 11
0x7c 0x69 0x5c 0x4f
# CHECK: qvlfsux 3, 9, 11
0x7c 0x69 0x5c 0x4e
# CHECK: qvlfsxa 3, 10, 11
0x7c 0x6a 0x5c 0x0f
# CHECK: qvlfsx 3, 10, 11
0x7c 0x6a 0x5c 0x0e
# CHECK: qvlpcldx 3, 10, 11
0x7c 0x6a 0x5c 0x8c
# CHECK: qvlpclsx 3, 10, 11
0x7c 0x6a 0x5c 0x0c
# CHECK: qvlpcrdx 3, 10, 11
0x7c 0x6a 0x58 0x8c
# CHECK: qvlpcrsx 3, 10, 11
0x7c 0x6a 0x58 0x0c
# CHECK: qvstfcduxa 2, 9, 11
0x7c 0x49 0x59 0xcf
# CHECK: qvstfcduxia 2, 9, 11
0x7c 0x49 0x59 0xcb
# CHECK: qvstfcduxi 2, 9, 11
0x7c 0x49 0x59 0xca
# CHECK: qvstfcdux 2, 9, 11
0x7c 0x49 0x59 0xce
# CHECK: qvstfcdxa 2, 10, 11
0x7c 0x4a 0x59 0x8f
# CHECK: qvstfcdxia 2, 10, 11
0x7c 0x4a 0x59 0x8b
# CHECK: qvstfcdxi 2, 10, 11
0x7c 0x4a 0x59 0x8a
# CHECK: qvstfcdx 2, 10, 11
0x7c 0x4a 0x59 0x8e
# CHECK: qvstfcsuxa 2, 9, 11
0x7c 0x49 0x59 0x4f
# CHECK: qvstfcsuxia 2, 9, 11
0x7c 0x49 0x59 0x4b
# CHECK: qvstfcsuxi 2, 9, 11
0x7c 0x49 0x59 0x4a
# CHECK: qvstfcsux 2, 9, 11
0x7c 0x49 0x59 0x4e
# CHECK: qvstfcsxa 2, 10, 11
0x7c 0x4a 0x59 0x0f
# CHECK: qvstfcsxia 2, 10, 11
0x7c 0x4a 0x59 0x0b
# CHECK: qvstfcsxi 2, 10, 11
0x7c 0x4a 0x59 0x0a
# CHECK: qvstfcsx 2, 10, 11
0x7c 0x4a 0x59 0x0e
# CHECK: qvstfduxa 2, 9, 11
0x7c 0x49 0x5d 0xcf
# CHECK: qvstfduxia 2, 9, 11
0x7c 0x49 0x5d 0xcb
# CHECK: qvstfduxi 2, 9, 11
0x7c 0x49 0x5d 0xca
# CHECK: qvstfdux 2, 9, 11
0x7c 0x49 0x5d 0xce
# CHECK: qvstfdxa 2, 10, 11
0x7c 0x4a 0x5d 0x8f
# CHECK: qvstfdxia 2, 10, 11
0x7c 0x4a 0x5d 0x8b
# CHECK: qvstfdxi 2, 10, 11
0x7c 0x4a 0x5d 0x8a
# CHECK: qvstfdx 2, 10, 11
0x7c 0x4a 0x5d 0x8e
# CHECK: qvstfiwxa 2, 10, 11
0x7c 0x4a 0x5f 0x8f
# CHECK: qvstfiwx 2, 10, 11
0x7c 0x4a 0x5f 0x8e
# CHECK: qvstfsuxa 2, 9, 11
0x7c 0x49 0x5d 0x4f
# CHECK: qvstfsuxia 2, 9, 11
0x7c 0x49 0x5d 0x4b
# CHECK: qvstfsuxi 2, 9, 11
0x7c 0x49 0x5d 0x4a
# CHECK: qvstfsux 2, 9, 11
0x7c 0x49 0x5d 0x4e
# CHECK: qvstfsxa 2, 10, 11
0x7c 0x4a 0x5d 0x0f
# CHECK: qvstfsxia 2, 10, 11
0x7c 0x4a 0x5d 0x0b
# CHECK: qvstfsxi 2, 10, 11
0x7c 0x4a 0x5d 0x0a
# CHECK: qvstfsx 2, 10, 11
0x7c 0x4a 0x5d 0x0e