summary refs log tree commit diff stats
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorGiuseppe Musacchio <thatlemon@gmail.com>2020-11-13 00:01:27 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2020-12-14 15:53:26 +1100
commit3278aa49d559ca191ff10735d363bd367d81fabf (patch)
tree5d14b641f37e402d94cf6557f3af670a70fbb7cc /scripts/qapi/expr.py
parentb2bd5b20fd1854cdbfee87553855163081a6c531 (diff)
downloadfocaccia-qemu-3278aa49d559ca191ff10735d363bd367d81fabf.tar.gz
focaccia-qemu-3278aa49d559ca191ff10735d363bd367d81fabf.zip
ppc/translate: Fix unordered f64/f128 comparisons
According to the PowerISA v3.1 reference, Table 68 "Actions for xscmpudp
- Part 1: Compare Unordered", whenever one of the two operands is a NaN
the SO bit is set while the other three bits are cleared.

Apply the same change to xscmpuqp.

The respective ordered counterparts are unaffected.

Signed-off-by: Giuseppe Musacchio <thatlemon@gmail.com>
Message-Id: <20201112230130.65262-2-thatlemon@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions