From: Blue Swirl Date: Wed, 30 May 2012 04:23:42 +0000 (+0000) Subject: ppc: Make hbrev table const X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~3973^2~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea6c0dac4bf161bb696ef0867d94b6223e9432c0;p=sdk%2Femulator%2Fqemu.git ppc: Make hbrev table const Lookup table 'hbrev' is never written to, so add a 'const' qualifier. Signed-off-by: Blue Swirl Signed-off-by: Alexander Graf Signed-off-by: Andreas Färber Signed-off-by: Alexander Graf --- diff --git a/target-ppc/int_helper.c b/target-ppc/int_helper.c index 3173f11..f638b2a 100644 --- a/target-ppc/int_helper.c +++ b/target-ppc/int_helper.c @@ -1484,7 +1484,7 @@ VUPK(lsh, s32, s16, UPKLO) /*****************************************************************************/ /* SPE extension helpers */ /* 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, 0x1, 0x9, 0x5, 0xD, 0x3, 0xB, 0x7, 0xF, };