summaryrefslogtreecommitdiffstats
path: root/qemu/tests/tcg/mips/mips32-dsp/mthi.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/tests/tcg/mips/mips32-dsp/mthi.c')
-rw-r--r--qemu/tests/tcg/mips/mips32-dsp/mthi.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/qemu/tests/tcg/mips/mips32-dsp/mthi.c b/qemu/tests/tcg/mips/mips32-dsp/mthi.c
deleted file mode 100644
index 43a80669d..000000000
--- a/qemu/tests/tcg/mips/mips32-dsp/mthi.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include<stdio.h>
-#include<assert.h>
-
-int main()
-{
- int achi, acho;
- int result;
-
- achi = 0x004433;
- result = 0x004433;
-
- __asm
- ("mthi %1, $ac1\n\t"
- "mfhi %0, $ac1\n\t"
- : "=r"(acho)
- : "r"(achi)
- );
- assert(result == acho);
-
- return 0;
-}