aboutsummaryrefslogtreecommitdiffhomepage
path: root/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'amd64')
-rw-r--r--amd64/isel.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/amd64/isel.c b/amd64/isel.c
index 420e392..d6fbaf5 100644
--- a/amd64/isel.c
+++ b/amd64/isel.c
@@ -9,15 +9,7 @@ enum flag {
CLOBF = 1 << 4,
};
-/* flags read by integer cmp ops */
-static const uchar intcmpflags[] = {
- [Oequ] = ZF, [Oneq] = ZF,
- [Olth] = SF|OF, [Olte] = ZF|SF|OF,
- [Ogte] = SF|OF, [Ogth] = ZF|SF|OF,
- [Oulth] = CF, [Oulte] = ZF|CF,
- [Ougte] = CF, [Ougth] = ZF|CF,
-};
-
+/* flags modified by each integer op */
static const uchar opflags[] = {
[Oneg] = ZF|CLOBF,
[Oadd] = ZF|CLOBF,