mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
target/tricore: Implement FTOU insn
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-ID: <20230828112651.522058-5-kbastian@mail.uni-paderborn.de>
This commit is contained in:
parent
ce64babdf6
commit
2bdbe35632
5 changed files with 49 additions and 0 deletions
|
@ -15,6 +15,7 @@ TESTS += test_dvstep.asm.tst
|
|||
TESTS += test_fadd.asm.tst
|
||||
TESTS += test_fmul.asm.tst
|
||||
TESTS += test_ftoi.asm.tst
|
||||
TESTS += test_ftou.asm.tst
|
||||
TESTS += test_imask.asm.tst
|
||||
TESTS += test_insert.asm.tst
|
||||
TESTS += test_ld_bu.asm.tst
|
||||
|
|
12
tests/tcg/tricore/asm/test_ftou.S
Normal file
12
tests/tcg/tricore/asm/test_ftou.S
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include "macros.h"
|
||||
.text
|
||||
.global _start
|
||||
_start:
|
||||
TEST_D_D(ftou, 1, 0x00000000, 0x1733f6c2)
|
||||
TEST_D_D(ftou, 2, 0x00000000, 0x2c9d9cdc)
|
||||
TEST_D_D(ftou, 3, 0xffffffff, 0x56eb7395)
|
||||
TEST_D_D(ftou, 4, 0x79900800, 0x4ef32010)
|
||||
TEST_D_D(ftou, 5, 0x0353f510, 0x4c54fd44)
|
||||
|
||||
TEST_PASSFAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue