From 110fa5bae13fac3c847e06dc98d4231281e12c26 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 29 Jun 2011 20:46:11 +0000 Subject: Replace "index" with "i". 2011-06-29 H.J. Lu * tilegx-opc.c (find_opcode): Replace "index" with "i". * tilepro-opc.c (find_opcode): Likewise. --- opcodes/tilepro-opc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'opcodes/tilepro-opc.c') diff --git a/opcodes/tilepro-opc.c b/opcodes/tilepro-opc.c index c79c911e65..c3f6be4b46 100644 --- a/opcodes/tilepro-opc.c +++ b/opcodes/tilepro-opc.c @@ -10103,19 +10103,19 @@ const struct tilepro_opcode * find_opcode (tilepro_bundle_bits bits, tilepro_pipeline pipe) { const unsigned short *table = tilepro_bundle_decoder_fsms[pipe]; - int index = 0; + int i = 0; while (1) { - unsigned short bitspec = table[index]; + unsigned short bitspec = table[i]; unsigned int bitfield = ((unsigned int) (bits >> (bitspec & 63))) & (bitspec >> 6); - unsigned short next = table[index + 1 + bitfield]; + unsigned short next = table[i + 1 + bitfield]; if (next <= TILEPRO_OPC_NONE) return &tilepro_opcodes[next]; - index = next - TILEPRO_OPC_NONE; + i = next - TILEPRO_OPC_NONE; } } -- cgit v1.2.1