History | View | Annotate | Download (4.4 kB)
s390x: use CONFIG_INT128 to detect __uint128_t
Target s390x uses ad-hoc macro magic to guess if the compilersupports the GCC extension __uint128_t. This patch uses thethe dedicated macro CONFIG_INT128 defined by configure instead.
This fixes compilation with the CIL source code analyzer, which...
target-s390x: Use mulu2 for mlgr insn
Signed-off-by: Richard Henderson <rth@twiddle.net>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-s390: Implement POPCNT
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-s390: Convert FLOGR
target-s390: Send signals for divide
target-s390: Convert ADD LOGICAL CARRY and SUBTRACT LOGICAL BORROW
I'm resonably certain that the carry/borrow-out condition for bothhelpers was incorrect, failing to take into account the carry-in.Adding the new CC_OP codes also allows removing the awkward interface...
target-s390: Convert DIVIDE
target-s390: Convert 64-bit MULTIPLY LOGICAL
Use a new "retxl" member of CPUS290XState to return the "eXtra Low" partof a 128-bit value. That said, this will get used when two independentvalues need returning (e.g. quotient+remainder) as well.
At the same time, shuffle the elements of CPUS390XState to get this new...
misc: move include files to include/qemu/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-s390x: split integer helpers
Move integer helpers to int_helper.c.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x: avoid AREG0 for integer helpers
Make integer helpers take a parameter for CPUState insteadof relying on global env.