From nobody Thu Nov 21 15:10:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1725876304; cv=none; d=zohomail.com; s=zohoarc; b=BCpAg1qiZVr9uSHc71C7KSWf9UwbbWMbWgqlg28EmnXsqfy+yIcPXj7ZctuiLrZVu3HWUreTVymusQZ5fSjMstSO5Pl6nlslc7BM46iB+zCNEsB4XfPKLFXdVxfnYHZ5ql/j5/ObktAO0b25pJY9Nom62fpq3XnstdNKLktjZAw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1725876304; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=sBtBtpFtAkSefhAwXJvOHUNIsjR7R+0hhbRTqjIHJ10=; b=j5iCGcm8p74HHcAxykhrvLw2kDbK7BDMy8D87llccvR6anMT2mQnItdzoz9O2EOQWKVaLfdOd9T5zS0DCkqNBjJxtGXqVdLQLBoPDRj7Xy8w9lovCSZf9GAnfeS2XsakMVWnouBkdfjtJpdn31QRY9QmpJ3aZ5rkMaJ1jUVtpTQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1725876304755772.8504477600414; Mon, 9 Sep 2024 03:05:04 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.794133.1202845 (Exim 4.92) (envelope-from ) id 1snbGE-0006yc-R0; Mon, 09 Sep 2024 10:04:42 +0000 Received: by outflank-mailman (output) from mailman id 794133.1202845; Mon, 09 Sep 2024 10:04:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1snbGE-0006yU-Nv; Mon, 09 Sep 2024 10:04:42 +0000 Received: by outflank-mailman (input) for mailman id 794133; Mon, 09 Sep 2024 10:04:41 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1snbGD-0006Wo-0T for xen-devel@lists.xenproject.org; Mon, 09 Sep 2024 10:04:41 +0000 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [2a00:1450:4864:20::62f]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id edacb18d-6e92-11ef-a0b5-8be0dac302b0; Mon, 09 Sep 2024 12:04:40 +0200 (CEST) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a8d60e23b33so69750866b.0 for ; Mon, 09 Sep 2024 03:04:40 -0700 (PDT) Received: from fziglio-desktop.. ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25ce96a7sm317744566b.158.2024.09.09.03.04.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 03:04:39 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: edacb18d-6e92-11ef-a0b5-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1725876279; x=1726481079; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sBtBtpFtAkSefhAwXJvOHUNIsjR7R+0hhbRTqjIHJ10=; b=Z6k+i5dBbMPH6pjAeVn5zUUdgtmS49p16YxkIGrxSA5ydcJt55y8lxGvvCeKR5Piuh co1rpbgSMM4Lx0+sf5qLNwuWN7UejAWYdohaYVLxOIw43KGhuS+5HM12IGPsbR417Ckc PGvDiPrgz9RQadyGNrPzlR6QbFUrDkxO9EhII= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725876279; x=1726481079; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sBtBtpFtAkSefhAwXJvOHUNIsjR7R+0hhbRTqjIHJ10=; b=DKDeSsIyFNYJdPoKs1C3kYhJxYcq9H+AWHPZ1TgZIDxqn5ny2Y7m4Pi9r+okZtyoti 7pZn2x+pO0khzo5P21nGSvvsGEkkJRt7GH4Tiq01BYYBl0EFS/MSQSfrqzzfYbbs8q5S JlKADnvaCjgXmO+cb6Lt7BK5hgMxRNyW7XJN2yJEJMWHhQpHvnHjf/I986YXxJLxGiT6 UCjxHi2HU/6JuaJifBK0XuSNHQhwq6QykfiEv9TBuxoDrtlOQf5dmMXOWtJ7mVUcz+73 vjnJd5HMWZdzdi3NmCy81/Z0+OeMAfzfKVbG+ti6S7PnlMDyyT5SvdPS/gJZxhtGh4V9 vFnA== X-Gm-Message-State: AOJu0YxD/61zGT60c5j8Vy5pmH98r2/+MZtqzur91uqCGqwkbGhyb5C4 Zp6lB+oaJgZkbSUAHRzSdBLnb6+q8k6qETwsZmsUX75KZlrdX78mGpqe5ivS7t+Ax8+pyaDOWAQ / X-Google-Smtp-Source: AGHT+IGoutK7m6MT+NPIMJ9erfSJzlViYHQDtRMwPeQaRZX6mfvuqWOaJ/dUcJmfB4lJlh+pcKM9Cg== X-Received: by 2002:a17:907:c16:b0:a86:8e3d:86e2 with SMTP id a640c23a62f3a-a8a885bfd11mr1219681866b.11.1725876279366; Mon, 09 Sep 2024 03:04:39 -0700 (PDT) From: Frediano Ziglio To: xen-devel@lists.xenproject.org Cc: Frediano Ziglio , Jan Beulich , Andrew Cooper , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Subject: [PATCH] x86/boot: Optimise 32 bit C source code Date: Mon, 9 Sep 2024 11:04:28 +0100 Message-Id: <20240909100428.47102-2-frediano.ziglio@cloud.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240909100428.47102-1-frediano.ziglio@cloud.com> References: <20240909100428.47102-1-frediano.ziglio@cloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1725876305236116600 Content-Type: text/plain; charset="utf-8" The various filters are removing all optimisations. No need to have all optimisations turned off. Signed-off-by: Frediano Ziglio --- xen/arch/x86/boot/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/boot/Makefile b/xen/arch/x86/boot/Makefile index 8f5bbff0cc..26737ce25b 100644 --- a/xen/arch/x86/boot/Makefile +++ b/xen/arch/x86/boot/Makefile @@ -13,7 +13,7 @@ $(obj)/head.o: $(head-bin-objs:.o=3D.bin) =20 CFLAGS_x86_32 :=3D $(subst -m64,-m32 -march=3Di686,$(XEN_TREEWIDE_CFLAGS)) $(call cc-options-add,CFLAGS_x86_32,CC,$(EMBEDDED_EXTRA_CFLAGS)) -CFLAGS_x86_32 +=3D -Werror -fno-builtin -g0 -msoft-float -mregparm=3D3 +CFLAGS_x86_32 +=3D -Werror -fno-builtin -g0 -msoft-float -mregparm=3D3 -O2 CFLAGS_x86_32 +=3D -nostdinc -include $(filter %/include/xen/config.h,$(XE= N_CFLAGS)) CFLAGS_x86_32 +=3D $(filter -I%,$(XEN_CFLAGS)) =20 --=20 2.34.1