1 # RUN: llvm-mc %s -triple=mips-unknown-unknown -show-encoding -mcpu=mips32r2 | \ 2 # RUN: FileCheck -check-prefix=CHECK32 %s 3 # RUN: llvm-mc %s -triple=mips-unknown-unknown -show-encoding -mcpu=mips64r2 | \ 4 # RUN: FileCheck -check-prefix=CHECK64 %s 5 6 # CHECK32: break # encoding: [0x00,0x00,0x00,0x0d] 7 # CHECK32: break 7, 0 # encoding: [0x00,0x07,0x00,0x0d] 8 # CHECK32: break 7, 5 # encoding: [0x00,0x07,0x01,0x4d] 9 # CHECK32: syscall # encoding: [0x00,0x00,0x00,0x0c] 10 # CHECK32: syscall 13396 # encoding: [0x00,0x0d,0x15,0x0c] 11 # CHECK32: eret # encoding: [0x42,0x00,0x00,0x18] 12 # CHECK32: deret # encoding: [0x42,0x00,0x00,0x1f] 13 14 # CHECK64: break # encoding: [0x00,0x00,0x00,0x0d] 15 # CHECK64: break 7, 0 # encoding: [0x00,0x07,0x00,0x0d] 16 # CHECK64: break 7, 5 # encoding: [0x00,0x07,0x01,0x4d] 17 # CHECK64: syscall # encoding: [0x00,0x00,0x00,0x0c] 18 # CHECK64: syscall 13396 # encoding: [0x00,0x0d,0x15,0x0c] 19 # CHECK64: eret # encoding: [0x42,0x00,0x00,0x18] 20 # CHECK64: deret # encoding: [0x42,0x00,0x00,0x1f] 21 22 break 23 break 7 24 break 7,5 25 syscall 26 syscall 0x3454 27 eret 28 deret 29