diff options
Diffstat (limited to 'qemu/tests/tcg/mips/mips32-dsp/absq_s_ph.c')
-rw-r--r-- | qemu/tests/tcg/mips/mips32-dsp/absq_s_ph.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/qemu/tests/tcg/mips/mips32-dsp/absq_s_ph.c b/qemu/tests/tcg/mips/mips32-dsp/absq_s_ph.c deleted file mode 100644 index aa8411202..000000000 --- a/qemu/tests/tcg/mips/mips32-dsp/absq_s_ph.c +++ /dev/null @@ -1,31 +0,0 @@ -#include<stdio.h> -#include<assert.h> - - -int main() -{ - int rd, rt; - int result; - - rt = 0x10017EFD; - result = 0x10017EFD; - - __asm - ("absq_s.ph %0, %1\n\t" - : "=r"(rd) - : "r"(rt) - ); - assert(rd == result); - - rt = 0x8000A536; - result = 0x7FFF5ACA; - - __asm - ("absq_s.ph %0, %1\n\t" - : "=r"(rd) - : "r"(rt) - ); - assert(rd == result); - - return 0; -} |