Add the operand encoding types for the new Armv8.2-a back-ported instructions. These...
[deliverable/binutils-gdb.git] / sim / m32r / decodex.c
index 4274b523ec57eb143c5cec8bfd7c9332b6ee7ac2..0b695cc28ce9775cdf46e80c7ea1f0118e8ddb88 100644 (file)
@@ -228,7 +228,7 @@ m32rxf_init_idesc_table (SIM_CPU *cpu)
     init_idesc (cpu, id, t);
 
   /* Now fill in the values for the chosen cpu.  */
-  for (t = m32rxf_insn_sem, tend = t + sizeof (m32rxf_insn_sem) / sizeof (*t);
+  for (t = m32rxf_insn_sem, tend = t + ARRAY_SIZE (m32rxf_insn_sem);
        t != tend; ++t)
     {
       init_idesc (cpu, & table[t->index], t);
This page took 0.02451 seconds and 4 git commands to generate.