summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/Disassembler/Mips/mt/valid-r2-el.txt3
-rw-r--r--llvm/test/MC/Disassembler/Mips/mt/valid-r2.txt3
-rw-r--r--llvm/test/MC/Mips/mt/valid.s4
3 files changed, 9 insertions, 1 deletions
diff --git a/llvm/test/MC/Disassembler/Mips/mt/valid-r2-el.txt b/llvm/test/MC/Disassembler/Mips/mt/valid-r2-el.txt
index 7dc7414feb8..7025354d684 100644
--- a/llvm/test/MC/Disassembler/Mips/mt/valid-r2-el.txt
+++ b/llvm/test/MC/Disassembler/Mips/mt/valid-r2-el.txt
@@ -7,4 +7,7 @@
0x01 0x00 0x66 0x41 # CHECK: dvpe $6
0x21 0x00 0x60 0x41 # CHECK: evpe
0x21 0x00 0x64 0x41 # CHECK: evpe $4
+0x08 0x10 0x65 0x7c # CHECK: fork $2, $3, $5
+0x09 0x00 0x80 0x7c # CHECK: yield $4
+0x09 0x20 0xa0 0x7c # CHECK: yield $4, $5
diff --git a/llvm/test/MC/Disassembler/Mips/mt/valid-r2.txt b/llvm/test/MC/Disassembler/Mips/mt/valid-r2.txt
index 8f0fdb038ce..17c42c0614a 100644
--- a/llvm/test/MC/Disassembler/Mips/mt/valid-r2.txt
+++ b/llvm/test/MC/Disassembler/Mips/mt/valid-r2.txt
@@ -7,4 +7,7 @@
0x41 0x66 0x00 0x01 # CHECK: dvpe $6
0x41 0x60 0x00 0x21 # CHECK: evpe
0x41 0x64 0x00 0x21 # CHECK: evpe $4
+0x7c 0x65 0x10 0x08 # CHECK: fork $2, $3, $5
+0x7c 0x80 0x00 0x09 # CHECK: yield $4
+0x7c 0xa0 0x20 0x09 # CHECK: yield $4, $5
diff --git a/llvm/test/MC/Mips/mt/valid.s b/llvm/test/MC/Mips/mt/valid.s
index d75304d46d4..ab1179d05c6 100644
--- a/llvm/test/MC/Mips/mt/valid.s
+++ b/llvm/test/MC/Mips/mt/valid.s
@@ -8,4 +8,6 @@
dvpe $6 # CHECK: dvpe $6 # encoding: [0x41,0x66,0x00,0x01]
evpe # CHECK: evpe # encoding: [0x41,0x60,0x00,0x21]
evpe $4 # CHECK: evpe $4 # encoding: [0x41,0x64,0x00,0x21]
-
+ fork $2, $3, $5 # CHECK: fork $2, $3, $5 # encoding: [0x7c,0x65,0x10,0x08]
+ yield $4 # CHECK: yield $4 # encoding: [0x7c,0x80,0x00,0x09]
+ yield $4, $5 # CHECK: yield $4, $5 # encoding: [0x7c,0xa0,0x20,0x09]
OpenPOWER on IntegriCloud