|
From: | Richard Henderson |
Subject: | Re: [PATCH v6 06/82] target/arm: Implement SVE2 saturating/rounding bitwise shift left (predicated) |
Date: | Tue, 11 May 2021 10:40:45 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 5/11/21 3:43 AM, Peter Maydell wrote:
+#define do_sqshl_d(n, m) \ + ({ uint32_t discard; do_sqrshl_d(n, m, false, &discard); })Why pass in &discard rather than just NULL ? (Similarly below.)
sat != NULL means enable saturation.Discard the results because unlike NEON, there is no architectural SVE flag to indicate that saturation has occurred.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |