qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-2.4] tcg: correctly mark dead inputs for mov


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH for-2.4] tcg: correctly mark dead inputs for mov with a constant
Date: Sat, 25 Jul 2015 15:06:03 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

On 07/24/2015 04:34 PM, Aurelien Jarno wrote:
          ots->val_type = TEMP_VAL_CONST;
          ots->val = ts->val;
+        if (IS_DEAD_ARG(1)) {
+            temp_dead(s, args[1]);
+        }

Aren't we also missing

  if (NEED_SYNC_ARG(0)) {
    temp_sync(s, args[0], allocated_regs);
  }

along this path?  Seems like there's room for cleanup here, at least for 2.5...


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]