[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sparse
Subject:    [PATCH v2 12/12] arch: add note for 128-bit long double on mips64
From:       Luc Van Oostenryck <luc.vanoostenryck () gmail ! com>
Date:       2019-11-27 2:06:43
Message-ID: 20191127020643.68629-13-luc.vanoostenryck () gmail ! com
[Download RAW message or body]

On mips64, the 'new' ABIS have 128-bit long doubles while
the 'old' and the embedded ABIs use 64-bit.

Add a note for this, since currently the -mabi flag is not handled.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 target.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target.c b/target.c
index ebc7d493b..6ea08c2f2 100644
--- a/target.c
+++ b/target.c
@@ -121,6 +121,8 @@ void init_target(void)
 			break;
 		/* fall through */
 	case MACH_ARM:
+	case MACH_MIPS64:
+		// FIXME: ABI n32 & (n)64 have 128-bit ldouble
 	case MACH_MIPS32:
 	case MACH_S390:
 	case MACH_S390X:
-- 
2.24.0

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic