From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIjNG-0002fz-Ji for qemu-devel@nongnu.org; Fri, 24 Jul 2015 16:15:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIjNB-0000ca-LB for qemu-devel@nongnu.org; Fri, 24 Jul 2015 16:15:18 -0400 Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]:33452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIjNB-0000cF-HJ for qemu-devel@nongnu.org; Fri, 24 Jul 2015 16:15:13 -0400 Received: by qkdl129 with SMTP id l129so21263238qkd.0 for ; Fri, 24 Jul 2015 13:15:12 -0700 (PDT) Sender: Richard Henderson References: <1437755447-10537-1-git-send-email-aurelien@aurel32.net> <1437755447-10537-5-git-send-email-aurelien@aurel32.net> From: Richard Henderson Message-ID: <55B29CCC.7020907@twiddle.net> Date: Fri, 24 Jul 2015 13:15:08 -0700 MIME-Version: 1.0 In-Reply-To: <1437755447-10537-5-git-send-email-aurelien@aurel32.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.5 04/10] tcg/optimize: allow constant to have copies List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno , qemu-devel@nongnu.org On 07/24/2015 09:30 AM, Aurelien Jarno wrote: > Now that copies and constants are tracked separately, we can allow > constant to have copies, deferring the choice to use a register or a > constant to the register allocation pass. This prevent this kind of > regular constant reloading: This appears to cause $ gdb --args ./x86_64-linux-user/qemu-x86_64 /bin/ls ... (gdb) run Starting program: /home/rth/work/qemu/bld/x86_64-linux-user/qemu-x86_64 /bin/ls [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7ffff6604700 (LWP 7767)] qemu-x86_64: /home/rth/work/qemu/qemu/tcg/tcg.c:1827: tcg_reg_alloc_bb_end: Assertion `ts->val_type == TEMP_VAL_DEAD' failed. Program received signal SIGABRT, Aborted. r~