* [Qemu-devel] [PATCH] target-ppc: Make vgbbd Masks "static const"
@ 2014-02-25 21:25 Tom Musta
2014-02-25 21:40 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Tom Musta @ 2014-02-25 21:25 UTC (permalink / raw)
To: qemu-devel; +Cc: Tom Musta, qemu-ppc
Per Richard Henderson's review, the array of masks used in the
vgbbd instruction should be declared as static const.
Signed-off-by: Tom Musta <tommusta@gmail.com>
---
target-ppc/int_helper.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-ppc/int_helper.c b/target-ppc/int_helper.c
index 63dde94..582d8ac 100644
--- a/target-ppc/int_helper.c
+++ b/target-ppc/int_helper.c
@@ -1075,7 +1075,7 @@ void helper_vbpermq(ppc_avr_t *r, ppc_avr_t *a, ppc_avr_t *b)
#undef VBPERMQ_INDEX
#undef VBPERMQ_DW
-uint64_t VGBBD_MASKS[256] = {
+static const uint64_t VGBBD_MASKS[256] = {
0x0000000000000000ull, /* 00 */
0x0000000000000080ull, /* 01 */
0x0000000000008000ull, /* 02 */
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-25 21:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-25 21:25 [Qemu-devel] [PATCH] target-ppc: Make vgbbd Masks "static const" Tom Musta
2014-02-25 21:40 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).