target-alpha: small optimizations
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5238 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
6ba8dcd773
commit
1ef4ef4e64
@ -516,7 +516,7 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn)
|
||||
goto invalid_opc;
|
||||
case 0x08:
|
||||
/* LDA */
|
||||
if (ra != 31) {
|
||||
if (likely(ra != 31)) {
|
||||
if (rb != 31)
|
||||
tcg_gen_addi_i64(cpu_ir[ra], cpu_ir[rb], disp16);
|
||||
else
|
||||
@ -525,7 +525,7 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn)
|
||||
break;
|
||||
case 0x09:
|
||||
/* LDAH */
|
||||
if (ra != 31) {
|
||||
if (likely(ra != 31)) {
|
||||
if (rb != 31)
|
||||
tcg_gen_addi_i64(cpu_ir[ra], cpu_ir[rb], disp16 << 16);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user