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 [63.128.21.124]) by sourceware.org (Postfix) with ESMTP id 12CB83854804 for ; Tue, 16 Mar 2021 16:34:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 12CB83854804 Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-590-CbZDjGIxPhGDfGZOzuyPmQ-1; Tue, 16 Mar 2021 12:34:14 -0400 X-MC-Unique: CbZDjGIxPhGDfGZOzuyPmQ-1 Received: by mail-qv1-f70.google.com with SMTP id iy2so25515633qvb.22 for ; Tue, 16 Mar 2021 09:34:14 -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:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=h056v1LAoxu7bNMeMdyq79MhAuivjubqbUEuUhe9930=; b=Gkghss2ViflmqEURIiUvmLM9L/F5ZYnDbFv98w5fj+/ZQ3U6vIdZkDWh+5+gT3mWdJ bnsgLNzFcDz5KriGuQUFMe0CtCy91G+8YSc2jTuoA3rEbE/yoNjPVUac1SVzumPoJl1O vJ2JRRtmHy8xLcN1wHZ4qzq+nT3W4dC+UGS8itvbozjQY8wpLH8W1T8z7n/8t1qpvtXs S5nAQ2d4h8Fi+9NvRsJLbXHEMsNlUpaTNaoGmsU1zKCWg57J4tYmopLR/CxzNK8slrcq Cqo28C4q4XT/BsGvGeIbVcMkAgoi/eW8a/yFEL4VB3XLMOcnr4UgDE8ng/NA80br9pte q5jg== X-Gm-Message-State: AOAM532CvB660jVmApwoTyq0rGrCv+wryQVELWQJF/rNH0d2J9Eevlg/ qeB3CbCNoYNMI0kflPNikLV9TeSblCJO/fuCrxbOpVxol8u+9H2dIyRteJKf0RH0Tew5grJvzI5 osMEY6LY/EewaZEUwP6vXZloVRAjjG0EW5x9aAtdInnOwp1AtgSn8XdOFRDGCsbWltum52g== X-Received: by 2002:a05:622a:11cd:: with SMTP id n13mr544634qtk.52.1615912453523; Tue, 16 Mar 2021 09:34:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/7nJ0fPa8ywkV2gaOWWW5t+sYAg7W/HYNKsX5Ofp67n9x78fTQy5MgLXKKtw5sKgXkKQ1hg== X-Received: by 2002:a05:622a:11cd:: with SMTP id n13mr544613qtk.52.1615912453265; Tue, 16 Mar 2021 09:34:13 -0700 (PDT) Received: from [192.168.1.16] (198-84-214-74.cpe.teksavvy.com. [198.84.214.74]) by smtp.gmail.com with ESMTPSA id f8sm13264806qth.6.2021.03.16.09.34.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Mar 2021 09:34:12 -0700 (PDT) Subject: Re: [PATCH v5] x86_64: Update THREAD_SETMEM/THREAD_SETMEM_NC for IMM64 [BZ #27591] To: Florian Weimer , Andreas Schwab , "H.J. Lu" Cc: Carlos O'Donell via Libc-alpha References: <20210202191209.4036619-1-hjl.tools@gmail.com> <60a3a304-7f33-3727-a39a-5420d26d13a0@redhat.com> <87ft0vzcy5.fsf@igel.home> <87zgz3xf1f.fsf@igel.home> <87zgz3m647.fsf@oldenburg.str.redhat.com> From: Carlos O'Donell Organization: Red Hat Message-ID: Date: Tue, 16 Mar 2021 12:34:11 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <87zgz3m647.fsf@oldenburg.str.redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, 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:34:17 -0000 On 3/16/21 12:10 PM, Florian Weimer via Libc-alpha wrote: > * 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? It might. HJ, Does it work to rewrite this using __seg_fs? Otherwise I'll review v5, which I think is better than it was before and makes forward progress. -- Cheers, Carlos.