diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2026-08-11 15:06:36 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2026-08-18 17:31:49 -0700 |
| commit | 90aa356edcf1d7c1d4453269a0a8b0e667aa964f (patch) | |
| tree | aada66541ce5f99c319e407a3b00518988c0e534 /docs | |
| parent | ffc27ce9be6751a12c30f9a913d1f41003a74962 (diff) | |
| download | qemu-90aa356edcf1d7c1d4453269a0a8b0e667aa964f.tar.gz qemu-90aa356edcf1d7c1d4453269a0a8b0e667aa964f.zip | |
tcg: Add integer min/max opcodes
We already have these for vectors; replicate for integers.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/devel/tcg-ops.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst index f2e9255dd9..88d48a1f99 100644 --- a/docs/devel/tcg-ops.rst +++ b/docs/devel/tcg-ops.rst @@ -317,6 +317,18 @@ Arithmetic pass 0 to *nh* to make a simple zero-extension of *nl*, so overflow should never occur. + * - smax *t0*, *t1*, *t2* + + umax *t0*, *t1*, *t2* + + - | *t0* = MAX(*t1*, *t2*), for signed and unsigned integers. + + * - smin *t0*, *t1*, *t2* + + umin *t0*, *t1*, *t2* + + - | *t0* = MIN(*t1*, *t2*), for signed and unsigned integers. + Logical ------- |
