From: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
To: linux-sparse@vger.kernel.org
Cc: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Subject: [PATCH 1/2] nios2: long double is 64-bit
Date: Thu, 9 Jul 2020 00:19:15 +0200 [thread overview]
Message-ID: <20200708221916.56665-2-luc.vanoostenryck@gmail.com> (raw)
In-Reply-To: <20200708221916.56665-1-luc.vanoostenryck@gmail.com>
On Nios2, long double are (of course) only 64 bits width.
Specify this in the target file.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
target-nios2.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target-nios2.c b/target-nios2.c
index 05f0926e2df9..98813765b925 100644
--- a/target-nios2.c
+++ b/target-nios2.c
@@ -26,6 +26,8 @@ const struct target target_nios2 = {
.mach = MACH_NIOS2,
.bitness = ARCH_LP32,
+ .bits_in_longdouble = 64,
+
.predefine = predefine_nios2,
.builtins = builtins_nios2,
};
--
2.27.0
next prev parent reply other threads:[~2020-07-08 22:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 22:19 [PATCH 0/2] small fixes for NIOS2 Luc Van Oostenryck
2020-07-08 22:19 ` Luc Van Oostenryck [this message]
2020-07-08 22:19 ` [PATCH 2/2] nios2: add non-trailing double underscore predefines Luc Van Oostenryck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200708221916.56665-2-luc.vanoostenryck@gmail.com \
--to=luc.vanoostenryck@gmail.com \
--cc=linux-sparse@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).