diff options
Diffstat (limited to 'qemu/tests/tcg/mips/mips64-dsp/absq_s_ph.c')
-rw-r--r-- | qemu/tests/tcg/mips/mips64-dsp/absq_s_ph.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/qemu/tests/tcg/mips/mips64-dsp/absq_s_ph.c b/qemu/tests/tcg/mips/mips64-dsp/absq_s_ph.c deleted file mode 100644 index 238416d43..000000000 --- a/qemu/tests/tcg/mips/mips64-dsp/absq_s_ph.c +++ /dev/null @@ -1,37 +0,0 @@ -#include "io.h" - -int main(void) -{ - long long rd, rt; - long long result; - - rt = 0x10017EFD; - result = 0x10017EFD; - - __asm - ("absq_s.ph %0, %1\n\t" - : "=r"(rd) - : "r"(rt) - ); - if (rd != result) { - printf("absq_s.ph wrong\n"); - - return -1; - } - - rt = 0x8000A536; - result = 0x7FFF5ACA; - - __asm - ("absq_s.ph %0, %1\n\t" - : "=r"(rd) - : "r"(rt) - ); - if (rd != result) { - printf("absq_s.ph wrong\n"); - - return -1; - } - - return 0; -} |