ir/tests/debug/sccp_001.irt

20 lines
220 B
Plaintext
Raw Normal View History

2022-04-21 23:11:34 +02:00
--TEST--
SCCP 001
2022-05-25 16:38:22 +02:00
--TARGET--
x86_64
2022-04-21 23:11:34 +02:00
--ARGS--
-S
--CODE--
{
int64_t i_1 = 10;
int64_t i_4 = 4;
l_1 = START(l_2);
int64_t z1 = BSWAP(i_1);
l_2 = RETURN(l_1, z1);
}
--EXPECT--
test:
movl $0xa, %eax
2022-04-21 23:11:34 +02:00
bswapq %rax
retq