All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Add 64-bit instruction support to decodetree
@ 2021-04-07 22:13 Luis Fernando Fujita Pires
  0 siblings, 0 replies; only message in thread
From: Luis Fernando Fujita Pires @ 2021-04-07 22:13 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-ppc, richard.henderson, Matheus Kowalczuk Ferst,
	Bruno Piazera Larsen

This adds support for 64-bit instructions to decodetree.py.

It will be necessary to later on use decodetree to implement the new 64-bit Power ISA 3.1 instructions.

While doing this change, I thought it would also be nice to be able to specify different sizes for each field in arg structs and also infer whether to use signed/unsigned data types based on the field definition. But those would be different changes, anyway, and I limited myself to using int64_t for the data type of fields in arg structs when insnwidth == 64.

v2:
- Added information about the field data types used in arg structs


Luis Pires (1):
  decodetree: Add support for 64-bit instructions

 docs/devel/decodetree.rst |  5 +++--
 scripts/decodetree.py     | 25 ++++++++++++++++++++-----
 2 files changed, 23 insertions(+), 7 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-07 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 22:13 [PATCH v2 0/1] Add 64-bit instruction support to decodetree Luis Fernando Fujita Pires

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.