• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión961521261a3d600b0695b2e6d2b0f490076f7e90 (tree)
Tiempo2015-07-24 12:37:12
AutorAurelien Jarno <aurelien@aure...>
CommiterRichard Henderson

Log Message

tcg/optimize: fix tcg_opt_gen_movi

Due to a copy&paste, the new op value is tested against mov_i32 instead
of movi_i32. The test is therefore always false. Fix that.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Message-Id: <1436544211-2769-1-git-send-email-aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>

Cambiar Resumen

Diferencia incremental

--- a/tcg/optimize.c
+++ b/tcg/optimize.c
@@ -205,7 +205,7 @@ static void tcg_opt_gen_movi(TCGContext *s, TCGOp *op, TCGArg *args,
205205 temps[dst].state = TCG_TEMP_CONST;
206206 temps[dst].val = val;
207207 mask = val;
208- if (TCG_TARGET_REG_BITS > 32 && new_op == INDEX_op_mov_i32) {
208+ if (TCG_TARGET_REG_BITS > 32 && new_op == INDEX_op_movi_i32) {
209209 /* High bits of the destination are now garbage. */
210210 mask |= ~0xffffffffull;
211211 }