linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
0002-Use-generic-padding-instead-of-128-bit-integers.patch
(846B)
1 From 68b09c2e546bb3ea3ad43904e5b499729ee3bee8 Mon Sep 17 00:00:00 2001
2 From: Michael Forney <mforney@mforney.org>
3 Date: Tue, 13 Aug 2019 22:27:49 +0000
4 Subject: [PATCH] Use generic padding instead of 128-bit integers
5
6 ---
7 src/x86/ffi64.c | 14 +-------------
8 1 file changed, 1 insertion(+), 13 deletions(-)
9
10 diff --git a/src/x86/ffi64.c b/src/x86/ffi64.c
11 index dec331c..a48c74d 100644
12 --- a/src/x86/ffi64.c
13 +++ b/src/x86/ffi64.c
14 @@ -40,23 +40,11 @@
15 #define MAX_GPR_REGS 6
16 #define MAX_SSE_REGS 8
17
18 -#if defined(__INTEL_COMPILER)
19 -#include "xmmintrin.h"
20 -#define UINT128 __m128
21 -#else
22 -#if defined(__SUNPRO_C)
23 -#include <sunmedia_types.h>
24 -#define UINT128 __m128i
25 -#else
26 -#define UINT128 __int128_t
27 -#endif
28 -#endif
29 -
30 union big_int_union
31 {
32 UINT32 i32;
33 UINT64 i64;
34 - UINT128 i128;
35 + char pad[16];
36 };
37
38 struct register_args
39 --
40 2.24.0
41