1 # RUN: llvm-mc -show-encoding -triple=mips-unknown-unknown -mattr=dspr2 %s | FileCheck %s 2 # 3 # CHECK: .text 4 # CHECK: precrq.qb.ph $16, $17, $18 # encoding: [0x7e,0x32,0x83,0x11] 5 # CHECK: precrq.ph.w $17, $18, $19 # encoding: [0x7e,0x53,0x8d,0x11] 6 # CHECK: precrq_rs.ph.w $18, $19, $20 # encoding: [0x7e,0x74,0x95,0x51] 7 # CHECK: precrqu_s.qb.ph $19, $20, $21 # encoding: [0x7e,0x95,0x9b,0xd1] 8 # CHECK: preceq.w.phl $20, $21 # encoding: [0x7c,0x15,0xa3,0x12] 9 # CHECK: preceq.w.phr $21, $22 # encoding: [0x7c,0x16,0xab,0x52] 10 # CHECK: precequ.ph.qbl $22, $23 # encoding: [0x7c,0x17,0xb1,0x12] 11 # CHECK: precequ.ph.qbr $23, $24 # encoding: [0x7c,0x18,0xb9,0x52] 12 # CHECK: precequ.ph.qbla $24, $25 # encoding: [0x7c,0x19,0xc1,0x92] 13 # CHECK: precequ.ph.qbra $25, $26 # encoding: [0x7c,0x1a,0xc9,0xd2] 14 # CHECK: preceu.ph.qbl $26, $27 # encoding: [0x7c,0x1b,0xd7,0x12] 15 # CHECK: preceu.ph.qbr $27, $gp # encoding: [0x7c,0x1c,0xdf,0x52] 16 # CHECK: preceu.ph.qbla $gp, $sp # encoding: [0x7c,0x1d,0xe7,0x92] 17 # CHECK: preceu.ph.qbra $sp, $fp # encoding: [0x7c,0x1e,0xef,0xd2] 18 19 # CHECK: precr.qb.ph $23, $24, $25 # encoding: [0x7f,0x19,0xbb,0x51] 20 # CHECK: precr_sra.ph.w $24, $25, 0 # encoding: [0x7f,0x38,0x07,0x91] 21 # CHECK: precr_sra.ph.w $24, $25, 31 # encoding: [0x7f,0x38,0xff,0x91] 22 # CHECK: precr_sra_r.ph.w $25, $26, 0 # encoding: [0x7f,0x59,0x07,0xd1] 23 # CHECK: precr_sra_r.ph.w $25, $26, 31 # encoding: [0x7f,0x59,0xff,0xd1] 24 25 precrq.qb.ph $16,$17,$18 26 precrq.ph.w $17,$18,$19 27 precrq_rs.ph.w $18,$19,$20 28 precrqu_s.qb.ph $19,$20,$21 29 preceq.w.phl $20,$21 30 preceq.w.phr $21,$22 31 precequ.ph.qbl $22,$23 32 precequ.ph.qbr $23,$24 33 precequ.ph.qbla $24,$25 34 precequ.ph.qbra $25,$26 35 preceu.ph.qbl $26,$27 36 preceu.ph.qbr $27,$28 37 preceu.ph.qbla $28,$29 38 preceu.ph.qbra $29,$30 39 40 precr.qb.ph $23,$24,$25 41 precr_sra.ph.w $24,$25,0 42 precr_sra.ph.w $24,$25,31 43 precr_sra_r.ph.w $25,$26,0 44 precr_sra_r.ph.w $25,$26,31 45