fix two bugs in isel

This commit is contained in:
Quentin Carbonneaux 2015-08-06 13:08:31 -04:00
parent e5983ba1a2
commit 2482f4dbbb
5 changed files with 11 additions and 6 deletions

View file

@ -25,7 +25,7 @@ OpDesc opdesc[OLast] = {
[OXDiv] = { "xdiv", 1, U },
[OXCmp] = { "xcmp", 2, U },
#define I(X) X(eq), X(sle), X(sgt), X(ne)
#define I(X) X(eq), X(sle), X(slt), X(sgt), X(sge), X(ne)
#define CMP(c) [OCmp+C##c] = { "c" #c, 2, U }
#define SET(c) [OXSet+C##c] = { "xset" #c, 0, U }
I(CMP), I(SET)