summaryrefslogtreecommitdiffstats
path: root/target-xtensa
diff options
context:
space:
mode:
authorLeon Alrae <leon.alrae@imgtec.com>2015-01-26 16:58:57 +0000
committerLeon Alrae <leon.alrae@imgtec.com>2015-02-13 14:11:29 +0000
commit5e88759a52934a32502298f2c78c6dfaa144364b (patch)
treeb3cdf816abe0b3307e3c02b8876814b2e8da8192 /target-xtensa
parentb40a1530f294b5fa4479dc3ca9bf46c269d08d87 (diff)
downloadhqemu-5e88759a52934a32502298f2c78c6dfaa144364b.zip
hqemu-5e88759a52934a32502298f2c78c6dfaa144364b.tar.gz
target-mips: pass 0 instead of -1 as rs in microMIPS LUI instruction
Using rs = -1 in gen_logic_imm() for microMIPS LUI instruction is dangerous and may bite us when implementing microMIPS R6 because in R6 AUI and LUI are distinguished by rs value. Therefore use 0 for safety. Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'target-xtensa')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud