• 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ónbbeb82395eaca0e3c38b433b2d2a5bad4a5fbd81 (tree)
Tiempo2015-07-27 23:25:40
AutorAurelien Jarno <aurelien@aure...>
CommiterRichard Henderson

Log Message

tcg: mark temps as mem_coherent = 0 for mov with a constant

When a constant has to be loaded in a mov op, we fail to set
mem_coherent = 0. This patch fixes that.

Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Message-Id: <1437994568-7825-3-git-send-email-aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>

Cambiar Resumen

Diferencia incremental

--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -1894,6 +1894,7 @@ static void tcg_reg_alloc_mov(TCGContext *s, const TCGOpDef *def,
18941894 ts->mem_coherent = 1;
18951895 } else if (ts->val_type == TEMP_VAL_CONST) {
18961896 tcg_out_movi(s, itype, ts->reg, ts->val);
1897+ ts->mem_coherent = 0;
18971898 }
18981899 s->reg_to_temp[ts->reg] = args[1];
18991900 ts->val_type = TEMP_VAL_REG;