Skip to content

Commit

Permalink
linux-user/arm/nwfpe: Delete unused aCC array
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
pm215 authored and Riku Voipio committed Jan 27, 2015
1 parent ea2b5fb commit 1af2ee0
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions linux-user/arm/nwfpe/fpopcode.c
Expand Up @@ -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
};

0 comments on commit 1af2ee0

Please sign in to comment.