search for: s_cmov

Displaying 1 result from an estimated 1 matches for "s_cmov".

Did you mean: cmov
2006 Aug 21
5
[LLVMdev] selecting select_cc
...done by the Alpha backend: --------------------------------------------------------------------------------------------- def CMOVEQ : OForm4< 0x11, 0x24, "cmoveq $RCOND,$RTRUE,$RDEST", [(set GPRC:$RDEST, (select (seteq GPRC:$RCOND, 0), GPRC:$RTRUE, GPRC:$RFALSE))], s_cmov>; ---------------------------------------------------------------------------------------------- One thing that I don't understand is how the $RFALSE value is used. $RDEST must equal $RFALSE before the cmov is executed. How does the Alpha backend enforces this? Thanks, Rafael