qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 01/43] target/loongarch: Add vector data type vec_t


From: Richard Henderson
Subject: Re: [RFC PATCH 01/43] target/loongarch: Add vector data type vec_t
Date: Sat, 24 Dec 2022 09:32:49 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 12/24/22 00:15, Song Gao wrote:
+union vec_t {
+    int8_t   B[LSX_LEN / 8];
+    int16_t  H[LSX_LEN / 16];
+    int32_t  W[LSX_LEN / 32];
+    int64_t  D[LSX_LEN / 64];
+    __int128 Q[LSX_LEN / 128];

Oh, you can't use __int128 directly.
It won't compile on 32-bit hosts.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]