qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 57/57] target/arm: Convert SQDMULH, SQRDMULH to decodetree


From: Richard Henderson
Subject: Re: [PATCH 57/57] target/arm: Convert SQDMULH, SQRDMULH to decodetree
Date: Tue, 21 May 2024 12:58:43 -0700
User-agent: Mozilla Thunderbird

On 5/21/24 09:16, Peter Maydell wrote:
+void HELPER(neon_sqrdmulh_idx_s)(void *vd, void *vn, void *vm,
+                                 void *vq, uint32_t desc)
+{
+    intptr_t i, j, opr_sz = simd_oprsz(desc);
+    int idx = simd_data(desc);
+    int32_t *d = vd, *n = vn, *m = (int32_t *)vm + H4(idx);
+
+    for (i = 0; i < opr_sz / 4; i += 16 / 4) {
+        int16_t mm = m[i];

Wrong type -- this is the 's' version so should be int32_t,
I think.

Oops, yes.


r~



reply via email to

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