diff options
Diffstat (limited to 'tests/tcg/mips/mips64-dsp/repl_qh.c')
-rw-r--r-- | tests/tcg/mips/mips64-dsp/repl_qh.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/tests/tcg/mips/mips64-dsp/repl_qh.c b/tests/tcg/mips/mips64-dsp/repl_qh.c deleted file mode 100644 index 82afc37167..0000000000 --- a/tests/tcg/mips/mips64-dsp/repl_qh.c +++ /dev/null @@ -1,34 +0,0 @@ -#include "io.h" - -int main(void) -{ - long long rd, result; - rd = 0; - result = 0x01FF01FF01FF01FF; - - __asm - ("repl.qh %0, 0x1FF\n\t" - : "=r"(rd) - ); - - if (result != rd) { - printf("repl.qh error 1\n"); - - return -1; - } - - rd = 0; - result = 0xFE00FE00FE00FE00; - __asm - ("repl.qh %0, 0xFFFFFFFFFFFFFE00\n\t" - : "=r"(rd) - ); - - if (result != rd) { - printf("repl.qh error 2\n"); - - return -1; - } - - return 0; -} |