1 # RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux -mcpu=mips32r2 -mattr=eva | FileCheck %s 2 # RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux -mcpu=mips32r3 -mattr=eva | FileCheck %s 3 # RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux -mcpu=mips32r5 -mattr=eva | FileCheck %s 4 # RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux -mcpu=mips64r2 -mattr=eva | FileCheck %s 5 # RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux -mcpu=mips64r3 -mattr=eva | FileCheck %s 6 # RUN: llvm-mc --disassemble %s -triple=mips64-unknown-linux -mcpu=mips64r5 -mattr=eva | FileCheck %s 7 # CHECK: .text 8 0x7c 0xff 0x7f 0x9b # CHECK: cachee 31, 255($7) 9 0x7c 0x80 0x80 0x1b # CHECK: cachee 0, -256($4) 10 0x7c 0x85 0xba 0x1b # CHECK: cachee 5, -140($4) 11 0x7f 0x2a 0x80 0x2c # CHECK: lbe $10, -256($25) 12 0x7d 0xed 0x7f 0xac # CHECK: lbe $13, 255($15) 13 0x7d 0xcb 0x49 0x2c # CHECK: lbe $11, 146($14) 14 0x7c 0x6d 0x80 0x28 # CHECK: lbue $13, -256($3) 15 0x7c 0x4d 0x7f 0xa8 # CHECK: lbue $13, 255($2) 16 0x7c 0x6d 0xa1 0x28 # CHECK: lbue $13, -190($3) 17 0x7e 0xad 0x80 0x2d # CHECK: lhe $13, -256($21) 18 0x7e 0x0c 0x7f 0xad # CHECK: lhe $12, 255($16) 19 0x7e 0x0d 0x28 0xad # CHECK: lhe $13, 81($16) 20 0x7c 0x72 0x80 0x29 # CHECK: lhue $18, -256($3) 21 0x7c 0x72 0x7f 0xa9 # CHECK: lhue $18, 255($3) 22 0x7c 0x56 0xac 0x29 # CHECK: lhue $22, -168($2) 23 0x7e 0xa2 0x80 0x2e # CHECK: lle $2, -256($21) 24 0x7e 0x63 0x7f 0xae # CHECK: lle $3, 255($19) 25 0x7e 0xc3 0xdc 0xae # CHECK: lle $3, -71($22) 26 0x7d 0xf6 0x7f 0x99 # CHECK: lwle $22, 255($15) 27 0x7d 0x57 0x80 0x19 # CHECK: lwle $23, -256($10) 28 0x7d 0xb7 0xa8 0x19 # CHECK: lwle $23, -176($13) 29 0x7f 0x80 0x7f 0x9a # CHECK: lwre $zero, 255($gp) 30 0x7f 0x80 0x80 0x1a # CHECK: lwre $zero, -256($gp) 31 0x7f 0x80 0xa8 0x1a # CHECK: lwre $zero, -176($gp) 32 0x7c 0x4e 0x80 0x23 # CHECK: prefe 14, -256($2) 33 0x7c 0x6b 0x7f 0xa3 # CHECK: prefe 11, 255($3) 34 0x7c 0x6e 0xed 0xa3 # CHECK: prefe 14, -37($3) 35 0x7d 0x71 0x7f 0x9c # CHECK: sbe $17, 255($11) 36 0x7d 0x51 0x80 0x1c # CHECK: sbe $17, -256($10) 37 0x7d 0xd3 0x00 0x1c # CHECK: sbe $19, 0($14) 38 0x7e 0x49 0x7f 0x9e # CHECK: sce $9, 255($18) 39 0x7e 0xac 0x80 0x1e # CHECK: sce $12, -256($21) 40 0x7e 0xed 0xf0 0x9e # CHECK: sce $13, -31($23) 41 0x7d 0xee 0x7f 0x9d # CHECK: she $14, 255($15) 42 0x7d 0xee 0x80 0x1d # CHECK: she $14, -256($15) 43 0x7d 0x69 0x75 0x9d # CHECK: she $9, 235($11) 44 0x7f 0xbf 0x7f 0x9f # CHECK: swe $ra, 255($sp) 45 0x7f 0xbf 0x80 0x1f # CHECK: swe $ra, -256($sp) 46 0x7f 0xbf 0xe5 0x9f # CHECK: swe $ra, -53($sp) 47 0x7e 0x29 0x7f 0xa1 # CHECK: swle $9, 255($17) 48 0x7e 0x6a 0x80 0x21 # CHECK: swle $10, -256($19) 49 0x7e 0xa8 0x41 0xa1 # CHECK: swle $8, 131($21) 50 0x7d 0xb4 0x7f 0xa2 # CHECK: swre $20, 255($13) 51 0x7d 0xb4 0x80 0x22 # CHECK: swre $20, -256($13) 52 0x7d 0xd2 0x2b 0x22 # CHECK: swre $18, 86($14) 53 0x42 0x00 0x00 0x03 # CHECK: tlbinv 54 0x42 0x00 0x00 0x04 # CHECK: tlbinvf 55