]> Git Repo - qemu.git/commit - tcg/tcg-op-gvec.c
tcg: Add generic helpers for saturating arithmetic
authorRichard Henderson <[email protected]>
Thu, 14 Dec 2017 16:45:20 +0000 (10:45 -0600)
committerRichard Henderson <[email protected]>
Thu, 8 Feb 2018 15:54:06 +0000 (15:54 +0000)
commitf49b12c6e6a75a5bd109bcbbda072b24e5fb8dfd
tree10b46c4ebc3d9673eea4c3be813a67c03f653d14
parent3774030a3e523689df24a7ed22854ce7a06b0116
tcg: Add generic helpers for saturating arithmetic

No vector ops as yet.  SSE only has direct support for 8- and 16-bit
saturation; handling 32- and 64-bit saturation is much more expensive.

Reviewed-by: Alex BennĂ©e <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
accel/tcg/tcg-runtime-gvec.c
accel/tcg/tcg-runtime.h
tcg/tcg-op-gvec.c
tcg/tcg-op-gvec.h
This page took 0.025586 seconds and 4 git commands to generate.