Skip to contentSkip to conversation

disas/mips: Increase 'member of ISAs' flag holder size

PATCH In review Philippe Mathieu-Daudé 3 participants 3 messages Oct 24, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 disas/mips: Increase 'member of ISAs' flag holder size

Increase the size of 'membership' holder size to 64 bits. This is needed for future extensions since existing bits are almost all used. (This change is related to f9c9cd63e3),

---
 disas/mips.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
disas/mips.c +1 -1
index 97f661a37e..d73d4094d8 100644
@@ -301,7 +301,7 @@ struct mips_opcode
   unsigned long pinfo2;
   /* A collection of bits describing the instruction sets of which this
      instruction or macro is a member. */
-  unsigned long membership;
+  uint64_t membership;
 };
 
 /* These are the characters which may appear in the args field of an
Signature · 1 line
2.19.1
#2 lore raw
In reply to Philippe Mathieu-Daudé

Hi Philippe,

Quoted 3 lines · Philippe Mathieu-Daudé

Increase the size of 'membership' holder size to 64 bits. This is needed for future extensions since existing bits are almost all used. (This change is related to f9c9cd63e3),

I'm queueing your patch to amend the support for the R5900, based on Aleksandar's latest v2 tag:

https://github.com/AMarkovic/qemu tags/mips-queue-oct-2018-part-2-v2

Quoted 21 lines
---
 disas/mips.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
disas/mips.c +1 -1
index 97f661a37e..d73d4094d8 100644
@@ -301,7 +301,7 @@ struct mips_opcode
   unsigned long pinfo2;
   /* A collection of bits describing the instruction sets of which this
      instruction or macro is a member. */
-  unsigned long membership;
+  uint64_t membership;
 };
 
 /* These are the characters which may appear in the args field of an
Signature · 1 line
2.19.1