From 5d945dbe5eb4f21f09595ca3f5f9eae35329665a Mon Sep 17 00:00:00 2001 From: Zoran Jovanovic Date: Fri, 28 Feb 2014 18:17:08 +0000 Subject: Fixed encoding of SYSCALL microMIPS instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202523 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/Mips/micromips-control-instructions.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/MC') diff --git a/test/MC/Mips/micromips-control-instructions.s b/test/MC/Mips/micromips-control-instructions.s index 07fd777c9e..632fb5390b 100644 --- a/test/MC/Mips/micromips-control-instructions.s +++ b/test/MC/Mips/micromips-control-instructions.s @@ -12,8 +12,8 @@ # CHECK-EL: break # encoding: [0x00,0x00,0x07,0x00] # CHECK-EL: break 7, 0 # encoding: [0x07,0x00,0x07,0x00] # CHECK-EL: break 7, 5 # encoding: [0x07,0x00,0x47,0x01] -# CHECK-EL: syscall # encoding: [0x00,0x00,0xfc,0x8a] -# CHECK-EL: syscall 13396 # encoding: [0x54,0x00,0xfc,0x8a] +# CHECK-EL: syscall # encoding: [0x00,0x00,0x7c,0x8b] +# CHECK-EL: syscall 396 # encoding: [0x8c,0x01,0x7c,0x8b] # CHECK-EL: eret # encoding: [0x00,0x00,0x7c,0xf3] # CHECK-EL: deret # encoding: [0x00,0x00,0x7c,0xe3] # CHECK-EL: di # encoding: [0x00,0x00,0x7c,0x47] @@ -29,8 +29,8 @@ # CHECK-EB: break # encoding: [0x00,0x00,0x00,0x07] # CHECK-EB: break 7, 0 # encoding: [0x00,0x07,0x00,0x07] # CHECK-EB: break 7, 5 # encoding: [0x00,0x07,0x01,0x47] -# CHECK-EB: syscall # encoding: [0x00,0x00,0x8a,0xfc] -# CHECK-EB: syscall 13396 # encoding: [0x00,0x54,0x8a,0xfc] +# CHECK-EB: syscall # encoding: [0x00,0x00,0x8b,0x7c] +# CHECK-EB: syscall 396 # encoding: [0x01,0x8c,0x8b,0x7c] # CHECK-EB: eret # encoding: [0x00,0x00,0xf3,0x7c] # CHECK-EB: deret # encoding: [0x00,0x00,0xe3,0x7c] # CHECK-EB: di # encoding: [0x00,0x00,0x47,0x7c] @@ -45,7 +45,7 @@ break 7 break 7,5 syscall - syscall 0x3454 + syscall 0x18c eret deret di -- cgit v1.2.3