xref: /openbmc/qemu/tests/tcg/tricore/asm/test_ftohp.S (revision 7d87775f)
1#include "macros.h"
2.text
3.global _start
4_start:
5    TEST_D_D(ftohp, 1, 0xffff, 0xffffffff)
6    TEST_D_D(ftohp, 2, 0xfc00, 0xff800000)
7    TEST_D_D(ftohp, 3, 0x7c00, 0x7f800000)
8    TEST_D_D(ftohp, 4, 0x0, 0x0)
9    TEST_D_D(ftohp, 5, 0x5, 0x34a43580)
10
11    #TEST_D_D_PSW(ftohp, 6, 0x400, 0x8c000b80, 0x387fee74)
12
13    TEST_PASSFAIL
14
15