mirror of https://github.com/xemu-project/xemu.git
ppc: Make hbrev table const
Lookup table 'hbrev' is never written to, so add a 'const' qualifier. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
9063825538
commit
ea6c0dac4b
|
@ -1484,7 +1484,7 @@ VUPK(lsh, s32, s16, UPKLO)
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/* SPE extension helpers */
|
/* SPE extension helpers */
|
||||||
/* Use a table to make this quicker */
|
/* Use a table to make this quicker */
|
||||||
static uint8_t hbrev[16] = {
|
static const uint8_t hbrev[16] = {
|
||||||
0x0, 0x8, 0x4, 0xC, 0x2, 0xA, 0x6, 0xE,
|
0x0, 0x8, 0x4, 0xC, 0x2, 0xA, 0x6, 0xE,
|
||||||
0x1, 0x9, 0x5, 0xD, 0x3, 0xB, 0x7, 0xF,
|
0x1, 0x9, 0x5, 0xD, 0x3, 0xB, 0x7, 0xF,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue