ir/tests/x86_64/not_002.irt

19 lines
215 B
Plaintext
Raw Permalink Normal View History

--TEST--
002: not function
2022-05-25 16:38:22 +02:00
--TARGET--
x86_64
--ARGS--
-S
--CODE--
{
l_1 = START(l_4);
bool x = PARAM(l_1, "x", 1);
bool ret = NOT(x);
l_4 = RETURN(l_1, ret);
}
--EXPECT--
test:
testb %dil, %dil
2022-06-01 17:16:32 +02:00
sete %al
retq