commit 3e884761033d152fc86c21ab537c00d877b864d4
parent 23efed866d272c23266cd233f24c68a6c2f580b6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 9 Mar 2017 09:21:09 +0100
[cc2-qbe] Remove AS operands related to CPL
Qbe hasn't 1 complement operands. They are implemented using xor operation.
Diffstat:
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/cc2/arch/qbe/arch.h b/cc2/arch/qbe/arch.h
@@ -43,7 +43,6 @@ enum asmop {
ASBANDW,
ASBORW,
ASBXORW,
- ASCPLW,
ASADDL,
ASSUBL,
@@ -68,7 +67,6 @@ enum asmop {
ASBANDL,
ASBORL,
ASBXORL,
- ASCPLL,
ASADDS,
ASSUBS,
diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
@@ -31,7 +31,6 @@ static char opasmw[] = {
[OBAND] = ASBANDW,
[OBOR] = ASBORW,
[OBXOR] = ASBXORW,
- [OCPL] = ASCPLW
};
static char opasml[] = {
@@ -51,7 +50,6 @@ static char opasml[] = {
[OBAND] = ASBANDL,
[OBOR] = ASBORL,
[OBXOR] = ASBXORL,
- [OCPL] = ASCPLL
};
static char opasms[] = {