From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 832F61F45E for ; Mon, 10 Feb 2020 22:48:51 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version:content-type; q=dns; s=default; b=QU7Vm gig3MpnjO5yyDqsrTxOeNytCoSxgDoKllqHEzPBQnCq5TpnknSDqavxZjNwVgvcv RyYSvjPmWI2F0dvIqZD+nSNaQZh3hJrjgyyly/iB1oaXjCwOkZa87kMkJy1IxvkQ Gg6930j5n7+c/iv9ugkqL5C2dHUnIvNhFwX80M= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version:content-type; s=default; bh=GltQG2B1Idi Uf6wpJD9qPeXvzHM=; b=yVe+WAUYsv/azctNbE2TOWAcjkpFDTXL/IuQpW/N5Fn 3dWpYzIoiFmZlEfUgkMu8B9EoWNj23j9IcWiensdwt6Yxu4/zJjsgV/FZ3CdnrY4 FJkEY34DzdnncxKWWxls8kLyoEmFkTYmetRfNUAV1/aSk9vElSJqoKP4Ll+BEYOY = Received: (qmail 116815 invoked by alias); 10 Feb 2020 22:48:48 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 116654 invoked by uid 89); 10 Feb 2020 22:48:23 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: esa3.mentor.iphmx.com IronPort-SDR: b6Z+XJDEmXVuVeAdQvFdXj7wxXfJARQBYaEvSvm2v6NouY4axPF1VJ2mEfJryEJkzhU0/5ufWC m0xAjtBC9u5UsJZWHkW0yYz5KYoJOmBvGVLaIOY8JWmJJNMVpI5UdknAokMX9YcQ9i9/osRD++ cNOuCBMLqsoJxi4p27dLIL3KoRrSebp/9Ckpcremvich6ivwK4C6w/2pwHazcDGOfKvHXy92Hk Z7ULcaXDIekv2Bt3muHlL7uz7Nd4ALQ4AhNbffNGCrwZ6qcuVOJh/lygJVrnzuATFZZVauawhh sis= IronPort-SDR: k2bWr7DC7qeiu/aVRSharwMu0btJeCDCn3HEkCFvYewT3SjqD4/lApyGaj8a4KG5OheWjTDIgw NgZuj7ASsTQysfvyoI70EDwwUNwcISjyda3e93Bq2u47lG50uBeegbKni5lTZou4wjzd1QC7zJ CMxCyCqSNBEdFaJZLVcgzIoYC5l/vceQGXxxZZr3TQfqumn6M8bJi6xD/8s2fbLksN7jdaeIuf PXpcG9LhkPe4bO9zU6fqAEa+7PBNovP+JE0k2ha0cuwNzjO9PmiXave6vr4OXzw/JTqE/KvZvO 0js= Date: Mon, 10 Feb 2020 22:48:12 +0000 From: Joseph Myers To: Adhemerval Zanella CC: Subject: Re: [PATCH 06/15] mips64: Consolidate Linux sysdep.h In-Reply-To: <20200210192038.23588-6-adhemerval.zanella@linaro.org> Message-ID: References: <20200210192038.23588-1-adhemerval.zanella@linaro.org> <20200210192038.23588-6-adhemerval.zanella@linaro.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" On Mon, 10 Feb 2020, Adhemerval Zanella wrote: > The mips64 Linux syscall macros only differs argument type and > the requirement of zero-extending values on n32. The headers It's sign-extension, not zero-extension (because that's the architecturally-defined rule for how 32-bit values must be represented in 64-bit registers for 32-bit instructions to work correctly - though current Linux kernels ensure syscall arguments are properly extended before they reach any C functions in the kernel). -- Joseph S. Myers joseph@codesourcery.com