aboutsummaryrefslogtreecommitdiff
path: root/linux-user/arm
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-01-08 12:19:45 +0000
committerRiku Voipio <riku.voipio@linaro.org>2015-01-27 22:33:57 +0200
commit1af2ee08f9b2f70d31676be14b26026223c9f660 (patch)
tree08c6d6ed7bda7b86a9cc94becf8cfc78b1a874d3 /linux-user/arm
parentea2b5fb19d50c1cbdea9a40504e31e54d37b8bab (diff)
downloadqemu-1af2ee08f9b2f70d31676be14b26026223c9f660.zip
qemu-1af2ee08f9b2f70d31676be14b26026223c9f660.tar.gz
qemu-1af2ee08f9b2f70d31676be14b26026223c9f660.tar.bz2
linux-user/arm/nwfpe: Delete unused aCC array
The aCC array in fpopcode.c is completely unused in QEMU; delete it (silencing a clang warning). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/arm')
-rw-r--r--linux-user/arm/nwfpe/fpopcode.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/linux-user/arm/nwfpe/fpopcode.c b/linux-user/arm/nwfpe/fpopcode.c
index 0dc5c9c..0ada30c 100644
--- a/linux-user/arm/nwfpe/fpopcode.c
+++ b/linux-user/arm/nwfpe/fpopcode.c
@@ -88,25 +88,3 @@ unsigned int getDestinationSize(const unsigned int opcode)
return(nRc);
}
-
-/* condition code lookup table
- index into the table is test code: EQ, NE, ... LT, GT, AL, NV
- bit position in short is condition code: NZCV */
-static const unsigned short aCC[16] = {
- 0xF0F0, // EQ == Z set
- 0x0F0F, // NE
- 0xCCCC, // CS == C set
- 0x3333, // CC
- 0xFF00, // MI == N set
- 0x00FF, // PL
- 0xAAAA, // VS == V set
- 0x5555, // VC
- 0x0C0C, // HI == C set && Z clear
- 0xF3F3, // LS == C clear || Z set
- 0xAA55, // GE == (N==V)
- 0x55AA, // LT == (N!=V)
- 0x0A05, // GT == (!Z && (N==V))
- 0xF5FA, // LE == (Z || (N!=V))
- 0xFFFF, // AL always
- 0 // NV
-};