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 [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 2BD4D3858C2C for ; Mon, 10 Jan 2022 09:21:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2BD4D3858C2C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641806474; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=VQEEY/cHMskPxuDDCFVlFPFV8gXe5D0c6IP5gqsEsF4=; b=iabIoQIGq+WDhy9LkwsF2NvFp3T22D3TOfqywB7up4/PQ+Xhe5XHLXIigU1y1c5nVMfFGM 3buw9rpEIBTO/6peJOWxsgq92wrjD8Wz3uNKnCoP+6UVt+L8srMgGwDZrY899ETlT51tl4 xfrTcL7HTQA+OfbGBXj82mynZo8c4Fg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-28-iYmE9waXNEq40xaJFvSwPw-1; Mon, 10 Jan 2022 04:21:11 -0500 X-MC-Unique: iYmE9waXNEq40xaJFvSwPw-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 104CC10168CC for ; Mon, 10 Jan 2022 09:21:11 +0000 (UTC) Received: from calimero.vinschen.de (ovpn-112-6.ams2.redhat.com [10.36.112.6]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D4A2270D5D for ; Mon, 10 Jan 2022 09:21:10 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 5E7DAA80D60; Mon, 10 Jan 2022 10:21:09 +0100 (CET) Date: Mon, 10 Jan 2022 10:21:09 +0100 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH] powerpc/setjmp: Improve RTEMS support Message-ID: Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20220110080250.77574-1-sebastian.huber@embedded-brains.de> MIME-Version: 1.0 In-Reply-To: <20220110080250.77574-1-sebastian.huber@embedded-brains.de> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=vinschen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-6.8 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_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2022 09:21:16 -0000 On Jan 10 09:02, Sebastian Huber wrote: > For some RTEMS multilibs, the FPU and Altivec units are disabled during > interrupt handling. Do not save and restore the corresponding registers in > this case. > --- > newlib/libc/machine/powerpc/setjmp.S | 27 +++++++++++++++++++++++++++ > 1 file changed, 27 insertions(+) I can't judge the correctness of the approach, but I'm sure you tested it, so feel free to push. Thanks, Corinna