diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-08-08 15:40:23 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2013-08-08 23:06:02 +0200 |
commit | 85711e6bafb1910b50ff181e8507cb904ef7e84d (patch) | |
tree | 48c10f12ab0744e2e5b58d65f22bb7be6073a508 /hw/mips | |
parent | 6fdf98f281f85ae6e2883bed2f691bcfe33b1f9f (diff) |
tcg/mips: fix invalid op definition errors
tcg/mips/tcg-target.h defines various operations conditionally depending
upon the isa revision, however these operations are included in
mips_op_defs[] unconditionally resulting in the following runtime errors
if CONFIG_DEBUG_TCG is defined:
Invalid op definition for movcond_i32
Invalid op definition for rotl_i32
Invalid op definition for rotr_i32
Invalid op definition for deposit_i32
Invalid op definition for bswap16_i32
Invalid op definition for bswap32_i32
tcg/tcg.c:1196: tcg fatal error
Fix with ifdefs like the i386 backend does for movcond_i32.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/mips')
0 files changed, 0 insertions, 0 deletions