qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/8] POWER9 TCG enablements - part15
@ 2017-02-24  5:46 Nikunj A Dadhania
  2017-02-24  5:46 ` [Qemu-devel] [PATCH v5 1/8] target/ppc: support for 32-bit carry and overflow Nikunj A Dadhania
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Nikunj A Dadhania @ 2017-02-24  5:46 UTC (permalink / raw)
  To: qemu-ppc, david, rth; +Cc: qemu-devel, bharata, nikunj

This series contains implentation of CA32 and OV32 bits added to the 
ISA 3.0. Various fixed-point arithmetic instructions are updated to take
care of the newer flags. 

Finally the last patch adds new instruction mcrxrx, that helps reading 
the carry (CA and CA32) and the overflow (OV and OV32) flags

Changelog:
v4: 
* Get back to the v3 implementation. Dropped removal of split 
  out variables.
* Remove checking of isa300 on the write side. Read side will do 
  the checking.

v3:
* Get rid of cpu_ca, cpu_ov, cpu_so split out variables
* As most of the patches under went changes, dropped the 
  reviewed-bys(except neg[.] patch)

v2: 
* Add missing condition in narrow mode(add/subf), multiply and divide
* Drop nego patch, subf implementation is sufficient for setting OV and OV32
* Retaining neg[.], as the code is simplified.
* Fix OV resetting in compute_ov()

v1: 
* Use these ISA 3.0 flag to enable CA32 and OV32
* Re-write ca32 compute routine
* Add setting of flags for "neg." and "nego."

Nikunj A Dadhania (8):
  target/ppc: support for 32-bit carry and overflow
  target/ppc: update ca32 in arithmetic add
  target/ppc: update ca32 in arithmetic substract
  target/ppc: update overflow flags for add/sub
  target/ppc: use tcg ops for neg instruction
  target/ppc: add ov32 flag for multiply low insns
  target/ppc: add ov32 flag in divide operations
  target/ppc: add mcrxrx instruction

 target/ppc/cpu.c            |  13 +++++-
 target/ppc/cpu.h            |   7 +++
 target/ppc/int_helper.c     |  53 +++++++++-------------
 target/ppc/translate.c      | 106 ++++++++++++++++++++++++++++++++++++++++----
 target/ppc/translate_init.c |   2 +-
 5 files changed, 138 insertions(+), 43 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-02-24  5:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24  5:46 [Qemu-devel] [PATCH v5 0/8] POWER9 TCG enablements - part15 Nikunj A Dadhania
2017-02-24  5:46 ` [Qemu-devel] [PATCH v5 1/8] target/ppc: support for 32-bit carry and overflow Nikunj A Dadhania
2017-02-24  5:46 ` [Qemu-devel] [PATCH v5 2/8] target/ppc: update ca32 in arithmetic add Nikunj A Dadhania
2017-02-24  5:46 ` [Qemu-devel] [PATCH v5 3/8] target/ppc: update ca32 in arithmetic substract Nikunj A Dadhania
2017-02-24  5:46 ` [Qemu-devel] [PATCH v5 4/8] target/ppc: update overflow flags for add/sub Nikunj A Dadhania
2017-02-24  5:46 ` [Qemu-devel] [PATCH v5 5/8] target/ppc: use tcg ops for neg instruction Nikunj A Dadhania
2017-02-24  5:46 ` [Qemu-devel] [PATCH v5 6/8] target/ppc: add ov32 flag for multiply low insns Nikunj A Dadhania
2017-02-24  5:46 ` [Qemu-devel] [PATCH v5 7/8] target/ppc: add ov32 flag in divide operations Nikunj A Dadhania
2017-02-24  5:46 ` [Qemu-devel] [PATCH v5 8/8] target/ppc: add mcrxrx instruction Nikunj A Dadhania

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).