xref: /openbmc/qemu/tests/tcg/tricore/asm/test_madd.S (revision 2df1eb27)
1#include "macros.h"
2.text
3.global _start
4_start:
5    TEST_D_DDI_PSW(madd,    1, 0x0000fffd, 0x60000b80, 0x0000ffff, 0x7fffffff,2)
6    TEST_D_DDI_PSW(madd,    2, 0xffff7fff, 0x60000b80, 0xffff8001, 0x7fffffff,2)
7    TEST_D_DDD_PSW(madds.u, 3, 0xffffffff, 0x60000b80, 0x00000000, 0x80000000, \
8                             0x80000000)
9
10    TEST_PASSFAIL
11
12