diff options
author | Aleksandar Markovic <amarkovic@wavecomp.com> | 2019-01-03 19:22:19 +0100 |
---|---|---|
committer | Aleksandar Markovic <amarkovic@wavecomp.com> | 2019-01-24 17:48:33 +0100 |
commit | 5b1e098128367d6ef7cb2d1e99a55fcf4fa9cdde (patch) | |
tree | 0090c3b4341d1e4e9cf570c294967eaf154cb3e8 /disas/nanomips.cpp | |
parent | 99e49abf119f700bf8664b7dfc60c22d9eaf9159 (diff) |
target/mips: Correct the second argument type of cpu_supports_isa()
"insn_flags" bitfield was expanded from 32-bit to 64-bit in commit
f9c9cd63e3. However, this was not reflected on the second argument
of the function cpu_supports_isa(). By chance, this did not create
some wrong behavior, since the left-most halves of all instances of
the second argument are currently all zeros. However, this is still
a bug waiting to happen. Correct this by changing the type of the
second argument to be always 64-bit.
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Diffstat (limited to 'disas/nanomips.cpp')
0 files changed, 0 insertions, 0 deletions