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: gaosong
Subject: Re: [RFC PATCH 01/43] target/loongarch: Add vector data type vec_t
Date: Mon, 13 Feb 2023 16:24:29 +0800
User-agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

Hi,  Richard

在 2022/12/25 上午1:32, Richard Henderson 写道:
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.


Can we  use Int128  after include "qem/int128.h" ?
So,   some  vxx_q  instructions  can  use   int128_ xx(a, b).

Thanks.
Song Gao




reply via email to

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