qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	"Alex Bennée" <alex.bennee@linaro.org>,
	armbru@redhat.com, "Aurelien Jarno" <aurelien@aurel32.net>
Subject: [Qemu-devel] [PATCH v1 1/7] fpu: move LIT64 helper to softfloat-types
Date: Thu,  8 Aug 2019 17:41:11 +0100	[thread overview]
Message-ID: <20190808164117.23348-2-alex.bennee@linaro.org> (raw)
In-Reply-To: <20190808164117.23348-1-alex.bennee@linaro.org>

This simple pasting helper can be used by those who don't need the
entire softfloat api. Move it to the smaller types header.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 include/fpu/softfloat-types.h | 2 ++
 include/fpu/softfloat.h       | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/fpu/softfloat-types.h b/include/fpu/softfloat-types.h
index 2aae6a89b19..7e88152dfc4 100644
--- a/include/fpu/softfloat-types.h
+++ b/include/fpu/softfloat-types.h
@@ -80,6 +80,8 @@ this code that are retained.
 #ifndef SOFTFLOAT_TYPES_H
 #define SOFTFLOAT_TYPES_H
 
+#define LIT64( a ) a##LL
+
 /* This 'flag' type must be able to hold at least 0 and 1. It should
  * probably be replaced with 'bool' but the uses would need to be audited
  * to check that they weren't accidentally relying on it being a larger type.
diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h
index 3ff3fa52245..d9333eb65b8 100644
--- a/include/fpu/softfloat.h
+++ b/include/fpu/softfloat.h
@@ -82,8 +82,6 @@ this code that are retained.
 #ifndef SOFTFLOAT_H
 #define SOFTFLOAT_H
 
-#define LIT64( a ) a##LL
-
 /*----------------------------------------------------------------------------
 | Software IEC/IEEE floating-point ordering relations
 *----------------------------------------------------------------------------*/
-- 
2.20.1



  reply	other threads:[~2019-08-08 16:42 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08 16:41 [Qemu-devel] [PATCH v1 0/7] softfloat header cleanups Alex Bennée
2019-08-08 16:41 ` Alex Bennée [this message]
2019-08-08 17:28   ` [Qemu-devel] [PATCH v1 1/7] fpu: move LIT64 helper to softfloat-types Richard Henderson
2019-08-09 10:08   ` Peter Maydell
2019-08-10 10:03     ` Alex Bennée
2019-08-08 16:41 ` [Qemu-devel] [PATCH v1 2/7] fpu: move inline helpers into a separate header Alex Bennée
2019-08-08 17:31   ` Richard Henderson
2019-08-08 16:41 ` [Qemu-devel] [PATCH v1 3/7] fpu: make softfloat-macros "self-contained" Alex Bennée
2019-08-08 17:49   ` Richard Henderson
2019-08-08 16:41 ` [Qemu-devel] [PATCH v1 4/7] fpu: rename softfloat-specialize.h -> .inc.c Alex Bennée
2019-08-08 17:50   ` Richard Henderson
2019-08-08 16:41 ` [Qemu-devel] [PATCH v1 5/7] target/mips: rationalise softfloat includes Alex Bennée
2019-08-08 17:55   ` Richard Henderson
2019-08-09  8:33     ` Alex Bennée
2019-08-08 16:41 ` [Qemu-devel] [PATCH v1 6/7] target/riscv: " Alex Bennée
2019-08-08 17:57   ` Richard Henderson
2019-08-10  1:55   ` Alistair Francis
2019-08-08 16:41 ` [Qemu-devel] [PATCH v1 7/7] targets (various): use softfloat-helpers.h where we can Alex Bennée
2019-08-08 17:58   ` Richard Henderson
2019-08-09  8:58   ` David Hildenbrand
2019-08-08 16:58 ` [Qemu-devel] [PATCH v1 0/7] softfloat header cleanups no-reply
2019-08-08 17:41 ` no-reply
2019-08-08 18:02 ` no-reply
2019-08-08 18:49 ` no-reply
2019-08-09  6:31 ` Markus Armbruster
2019-08-09  8:20   ` Alex Bennée

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=20190808164117.23348-2-alex.bennee@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=armbru@redhat.com \
    --cc=aurelien@aurel32.net \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.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).