summaryrefslogtreecommitdiff
path: root/tests/tcg/mips/mips64-dsp/shll_s_w.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/mips/mips64-dsp/shll_s_w.c')
-rw-r--r--tests/tcg/mips/mips64-dsp/shll_s_w.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/tcg/mips/mips64-dsp/shll_s_w.c b/tests/tcg/mips/mips64-dsp/shll_s_w.c
deleted file mode 100644
index 57800615d2..0000000000
--- a/tests/tcg/mips/mips64-dsp/shll_s_w.c
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "io.h"
-
-int main(void)
-{
- long long rd, rt, dsp;
- long long result, resultdsp;
-
- rt = 0x12345678;
- result = 0x7FFFFFFF;
- resultdsp = 0x01;
-
- __asm
- ("shll_s.w %0, %2, 0x0B\n\t"
- "rddsp %1\n\t"
- : "=r"(rd), "=r"(dsp)
- : "r"(rt)
- );
- dsp = (dsp >> 22) & 0x01;
- if ((dsp != resultdsp) || (rd != result)) {
- printf("shll_s.w wrong\n");
-
- return -1;
- }
-
- return 0;
-}