From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by sourceware.org (Postfix) with ESMTPS id 441E63858009 for ; Sat, 20 Mar 2021 15:20:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 441E63858009 Received: by mail-pg1-x531.google.com with SMTP id h25so5699607pgm.3 for ; Sat, 20 Mar 2021 08:20:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=5h+Zpn3eKla2Z1BcJqArSGB7Cibr7PmRgWyZraq12Pc=; b=iInGK/UiUFtPkfmTnqMFook/RHXYGFw34+6HLTIqUj6+X6EVf/HNaM+++5w6SfgZdt IGwZ/KpzGvKqxlxRAcp7K18ucjZ8AvC/VEkVHRtpGLIAHEGHSN5ZmU/84Ll6o3XckDCK uNqbQEY8QYeEIlFd0QC1vBbjhXUkqv4IZs4QyJAmM4nf+ubb4hQ+oFLH3Y+VTlFU9LKo aNzFHoKkP+EYzeAx2E5p/ShCo9ODbe4eqtuUmSjhGyu0Olf9BHu4T04Ax653qgs/GMhN yYFpn5vb/DiL084Fn76/Y/q7tPGukWcVzkNanf+QBwdrXfBt3vVpgj9nE/LOL1W7ZhIq dExQ== X-Gm-Message-State: AOAM5312ogNiHzKwTrTUgxh3zFUIpyNX93mGqW3K5BELYms7sQZfmqcV +XW9IUG2XOAljmy4rTT1Y12vpxEw2RD1Sg== X-Google-Smtp-Source: ABdhPJyUMuvih2MUQ8XiWi9eaA/FPpsj5+A/KjpopvGvO4MhEE1AepL4eQ1+wLfAFitGG7Va2a6wdQ== X-Received: by 2002:a65:5584:: with SMTP id j4mr16040523pgs.356.1616253634112; Sat, 20 Mar 2021 08:20:34 -0700 (PDT) Received: from [172.31.0.175] (c-98-202-48-222.hsd1.ut.comcast.net. [98.202.48.222]) by smtp.gmail.com with ESMTPSA id u24sm9067054pfm.214.2021.03.20.08.20.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 Mar 2021 08:20:33 -0700 (PDT) Subject: Re: enable sqrt insns for cdce3.c To: gcc-patches@gcc.gnu.org References: From: Jeff Law Message-ID: Date: Sat, 20 Mar 2021 09:20:32 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Mar 2021 15:20:36 -0000 On 3/9/2021 11:30 PM, Alexandre Oliva wrote: > The test expects shrink-wrapping of the fsqrt call, but that will only > occur when there is a usable sqrt insn. > > Arrange for dejagnu to add the options that enable the sqrt insn, if > one is available, and to skip the test otherwise. > > > H-P, this *should* obviate the mmix-specific dg-skip-if. Would it be > easy for you to confirm that this is the case and, if so, drop it? > > This was regstrapped on x86_64-linux-gnu, tested with a cross to a > ppc64-vxworks7r2 configured for a cpu that doesn't have fsqrt enabled, > and I'm now also regstrapping on ppc64-linux-gnu just to be sure. > Ok to install? > > > for gcc/testsuite/ChangeLog > > * gcc.dg/cdce3.c: Add sqrt insn options. OK jeff