From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id F178C3854804 for ; Tue, 16 Mar 2021 16:10:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F178C3854804 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-363-9m5Nu08cNhah0ls6yfGx3A-1; Tue, 16 Mar 2021 12:10:53 -0400 X-MC-Unique: 9m5Nu08cNhah0ls6yfGx3A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 269391966358; Tue, 16 Mar 2021 16:10:41 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-112-254.ams2.redhat.com [10.36.112.254]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 470E56E70E; Tue, 16 Mar 2021 16:10:40 +0000 (UTC) From: Florian Weimer To: Andreas Schwab Cc: "H.J. Lu" , Carlos O'Donell via Libc-alpha Subject: Re: [PATCH v5] x86_64: Update THREAD_SETMEM/THREAD_SETMEM_NC for IMM64 [BZ #27591] References: <20210202191209.4036619-1-hjl.tools@gmail.com> <60a3a304-7f33-3727-a39a-5420d26d13a0@redhat.com> <87ft0vzcy5.fsf@igel.home> <87zgz3xf1f.fsf@igel.home> Date: Tue, 16 Mar 2021 17:10:48 +0100 In-Reply-To: <87zgz3xf1f.fsf@igel.home> (Andreas Schwab's message of "Tue, 16 Mar 2021 17:02:36 +0100") Message-ID: <87zgz3m647.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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: 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-List-Received-Date: Tue, 16 Mar 2021 16:10:57 -0000 * Andreas Schwab: > I don't think this will work in general. Wouldn't it be possible that > an operands optimizes to a 64-bit constant in later passes? What you > really need is a constraint that only matches a 32-bit immediate or a > register. Like "rWf"? Maybe we should to the __seg_fs namespace instead? Wouldn't that avoid these issues? Thanks, Florian