mbox series

[v2,0/1] target-ppc: fix rlwimi, rlwinm, rlwnm for Clang-9

Message ID 20200505183818.32688-1-dbuono@linux.vnet.ibm.com
Headers show
Series target-ppc: fix rlwimi, rlwinm, rlwnm for Clang-9 | expand

Message

Daniele Buono May 5, 2020, 6:38 p.m. UTC
This patch fixes a compilation error with Clang v9 and higher in
target/ppc/translate.c, on a comparison that is always true in PPC32
because of type sizes.

More information about the issue are in the first version of the patch.

v2, changed to avoid the nested ifdef/conditional solution of v1, and
keep a code structure more similar to the original.

Daniele Buono (1):
  target-ppc: fix rlwimi, rlwinm, rlwnm for Clang-9

 target/ppc/translate.c | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)