From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126897 invoked by alias); 13 Jun 2016 11:22:45 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 126878 invoked by uid 89); 13 Jun 2016 11:22:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=uses_fp, frameless, MEDIA_FP_REGNUM, media_fp_regnum X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-oi0-f50.google.com Received: from mail-oi0-f50.google.com (HELO mail-oi0-f50.google.com) (209.85.218.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 13 Jun 2016 11:22:43 +0000 Received: by mail-oi0-f50.google.com with SMTP id w5so123307025oib.2; Mon, 13 Jun 2016 04:22:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=AcVj+JNV5A/UXfGi/SVKHWJdpIZvBOtPp3EJfvtLZDc=; b=hRmHxediXGuPdgrVKxOGT7e1EsyE4DI0VTyQFOIjL5bmX3+69jXd1Y6X9BOpUX7m0+ 61lF5PsM7TM3MNdkk3y3ldH2xJl0muRiDUG60+WhYviDDJ319PW936SInqLaRGEN6Rxc ok50M4ohFIc0JvsB5DpnF/wZe0ZR2TkmpUdtHqex5XAJkYNNaTodK/L+38wlruLMkCv4 ehtWSKQwkGf09BSmlTUoqKz4y+8zbDFgpPVey4htJUVuV94HCJymC/+cAx8apnBwEc8G t7r7idrDYBofuGvEQAIfaKy1Dns6QQa4/J/gMzStgswrhpG9KgHDPC4IhiU32GCKI8y7 CCZw== X-Gm-Message-State: ALyK8tI18uU9UL9F0nxZvy+5DymYZN90IkeiXgwEhxmBEl2oVv66XD15OjlnFgWGMLQKgu6MVcU6GjPZuTItiA== X-Received: by 10.157.59.134 with SMTP id k6mr7575168otc.116.1465816961908; Mon, 13 Jun 2016 04:22:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.68.4 with HTTP; Mon, 13 Jun 2016 04:22:41 -0700 (PDT) In-Reply-To: <1465678115-58170-6-git-send-email-jhb@FreeBSD.org> References: <1465678115-58170-1-git-send-email-jhb@FreeBSD.org> <1465678115-58170-6-git-send-email-jhb@FreeBSD.org> From: Yao Qi Date: Mon, 13 Jun 2016 11:22:00 -0000 Message-ID: Subject: Re: [PATCH 5/8] Detect a frameless frame by comparing the FP register to -1. To: John Baldwin Cc: "gdb-patches@sourceware.org" , binutils@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00160.txt.bz2 On Sat, Jun 11, 2016 at 9:48 PM, John Baldwin wrote: > > - if (cache->saved_regs[MEDIA_FP_REGNUM] >=3D 0) > + if (cache->saved_regs[MEDIA_FP_REGNUM] =3D=3D -1) > cache->uses_fp =3D 1; I suspect it should be " !=3D -1". saved_regs[MEDIA_FP_REGNUM] is initiali= zed to -1, so if it is not the initialized value (-1), FP should be set in the prologue, and mark the flag uses_fp. --=20 Yao (=E9=BD=90=E5=B0=A7)