[Libre-soc-bugs] [Bug 550] binutils support needed for svp64

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Nov 24 13:46:07 GMT 2021


https://bugs.libre-soc.org/show_bug.cgi?id=550

--- Comment #20 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
here:

an extra pointer in powerpc_opcode:

https://git.libre-soc.org/?p=binutils-gdb.git;a=blob;f=include/opcode/ppc.h;h=8c356b1ff4c0e82d7dd8b367cb27559707fd14dd;hb=84629a61ee0f459a78e245e5aa41bec73f30c4d1#l64

  35 struct powerpc_opcode
  36 {
  38   const char *name;
  42   uint64_t opcode;
  48   uint64_t mask;
  53   ppc_cpu_t flags;
  58   ppc_cpu_t deprecated;
  63   unsigned char operands[8];
       svp64_opcode_table* svp64;
  64 };

where here, the *AUTO-GENERATED* svp64_opcode_table would be "merged"
by this function:

https://git.libre-soc.org/?p=binutils-gdb.git;a=blob;f=gas/config/tc-ppc.c;h=cd0ba56ddffa728f90f2a9b1d299990b435645ad;hb=84629a61ee0f459a78e245e5aa41bec73f30c4d1#l1646

into this massive table of epic proportions:

https://git.libre-soc.org/?p=binutils-gdb.git;a=blob;f=opcodes/ppc-opc.c;h=bbbadffad8f62f867c53630b9bf67cfe72ecfed6;hb=84629a61ee0f459a78e245e5aa41bec73f30c4d1

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list