Revision 5aac5f6aeed01944e1b6acd03296a32b6c64570b authored by Richard Henderson on 27 March 2018, 03:37:24 UTC, committed by Michael Roth on 21 June 2018, 01:45:01 UTC
Failure to do so results in the tcg optimizer sign-extending
any constant fold from 32-bits.  This turns out to be visible
in the RISC-V testsuite using a host that emits these opcodes
(e.g. any non-x86_64).

Reported-by: Michael Clark <mjc@sifive.com>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit f2f1dde75160cac6ede330f3db50dc817d01a2d6)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
1 parent c793a0d
History
File Mode Size
Makefile.objs -rw-r--r-- 144 bytes
json-lexer.c -rw-r--r-- 9.7 KB
json-parser.c -rw-r--r-- 14.7 KB
json-streamer.c -rw-r--r-- 3.6 KB
qbool.c -rw-r--r-- 1.3 KB
qdict.c -rw-r--r-- 28.5 KB
qjson.c -rw-r--r-- 6.5 KB
qlist.c -rw-r--r-- 4.0 KB
qlit.c -rw-r--r-- 2.1 KB
qnull.c -rw-r--r-- 592 bytes
qnum.c -rw-r--r-- 6.1 KB
qobject.c -rw-r--r-- 1.5 KB
qstring.c -rw-r--r-- 3.3 KB

back to top