From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6612 invoked by alias); 14 Apr 2017 12:47:13 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 6592 invoked by uid 89); 14 Apr 2017 12:47:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-vk0-f47.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LUdazQDl/zeC3Tel8id6Jndy1KvF3smeEjxhJ34AvlI=; b=sPP4rrImawQ/NGN/LdHAi/lmRtEKBv6P/ZYMfSRJ9Ko9W6jtAfK5sjITHYnSYmKhQV o0d4Od+16vwr+yruDzd83A38s/xCan7vxdlmpc8tp4EM8CD5eKYFGUy3pNBD8AaaQT9G mT66GTHsNbNRCTL6k8wqYqdjujUCUJbnnkRVRoygaZbnYbKAqInHjOZ11rU8zD9emgWf CZrBYvIaWqGdYotcFZALYyrvBzVUbCqBVa3TyfsvXxcaAIXaSrNfv/b5gSoEXBGrIJbh Eso6AheK2njfJ/IS/AV//8TWfntkmCuR2X1X8Vh4NHmm/0+4TLx6fhMj0sVG3t/oMWux hm4g== X-Gm-Message-State: AN3rC/695JDzE9xXse9qmiUPrqdQCsUAU0lEaOz25xUXJMDt/7fgpfoC SPaClYqBoP7NwXaCtFFOgs09UBEYbg== X-Received: by 10.31.200.129 with SMTP id y123mr2558248vkf.99.1492174031364; Fri, 14 Apr 2017 05:47:11 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <87fuhbmaej.fsf@mid.deneb.enyo.de> References: <87fuhbmaej.fsf@mid.deneb.enyo.de> From: Uros Bizjak Date: Fri, 14 Apr 2017 12:47:00 -0000 Message-ID: Subject: Re: [PATCH, alpha]: Add earlyclobber to sqrtt/sqrtf insns. To: Florian Weimer Cc: libc-alpha@sourceware.org, Richard Henderson Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2017-04/txt/msg00258.txt.bz2 On Fri, Apr 14, 2017 at 2:38 PM, Florian Weimer wrote: > * Uros Bizjak: > >> Add earlyclobber to sqrtt/sqrtf insns. >> >> When using software completions, we have to prevent assembler to match >> input and output operands of sqrtt/sqrtf insn. Add earlyclobber to >> output operand to avoid unwanted operand matching. > > Is this so that the trap handler can recover the original input? > > In this case, please add this to the commit message for those of us > who are not familiar with the Alpha architecture. I don't know the low-level details, perhaps Richard can explain these requirements. The sqrtt simply returns zero for subnormal operand with software completions when input and output reg are matched. Uros.