mirror of
https://github.com/danog/ir.git
synced 2024-12-02 17:55:40 +01:00
20 lines
217 B
Plaintext
20 lines
217 B
Plaintext
|
--TEST--
|
||
|
SCCP 001
|
||
|
--TARGET--
|
||
|
x86
|
||
|
--ARGS--
|
||
|
-S
|
||
|
--CODE--
|
||
|
{
|
||
|
int32_t i_1 = 10;
|
||
|
int32_t i_4 = 4;
|
||
|
l_1 = START(l_2);
|
||
|
int32_t z1 = BSWAP(i_1);
|
||
|
l_2 = RETURN(l_1, z1);
|
||
|
}
|
||
|
--EXPECT--
|
||
|
test:
|
||
|
movl $0xa, %eax
|
||
|
bswapl %eax
|
||
|
retl
|