From patchwork Mon Apr 3 15:43:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 67225 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3A7FC3858407 for ; Mon, 3 Apr 2023 15:43:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3A7FC3858407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680536622; bh=z8kUUeBRaq7fXIHHyuYMdV46vRI+gcF34PANVeOpOoU=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=KbDSW9ByrDtql1lQ5eXMkY4B41wJEUsrkjkDwQdJNkfr1dZVuIwI4APa1BtfY01yd a5qF4qJliNw1O0iRTUarrYKbndsthIKEEDli0Nmn3ZxCtCuUqh3O61g2xh1u64TLpU V67pmPyrTEKoBC+f+c4Wa7kBmfaj2qHFPc+amMqs= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 92BF83858D39 for ; Mon, 3 Apr 2023 15:43:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 92BF83858D39 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-669-EA23x0_EO9uA6d9wM6rvHw-1; Mon, 03 Apr 2023 11:43:19 -0400 X-MC-Unique: EA23x0_EO9uA6d9wM6rvHw-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 84B8A884EC5 for ; Mon, 3 Apr 2023 15:43:18 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.85]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 10BBA492C13 for ; Mon, 3 Apr 2023 15:43:17 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH] x86_64: Fix asm constraints in feraiseexcept (bug 30305) Date: Mon, 03 Apr 2023 17:43:16 +0200 Message-ID: <87bkk50y5n.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Florian Weimer via Libc-alpha From: Florian Weimer Reply-To: Florian Weimer Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" The divss instruction clobbers its first argument, and the constraints need to reflect that. Fortunately, with GCC 12, generated code does not actually change, so there is no externally visible bug. Tested on x86_64-linux-gnu. Suggested-by: Jakub Jelinek Reviewed-by: Noah Goldstein