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~