tcg: Introduce helpers for integer min/max
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 10 May 2018 17:10:57 +0000 (18:10 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 10 May 2018 17:10:57 +0000 (18:10 +0100)
commitb87fb8cd9f9a0ba599ff79e7bf03222da02e5724
tree63a8e918a287d0632df4b1d6d6815960baa4f761
parentcd95fc28fb6d8afced0d70ce52c294d0761a9daa
tcg: Introduce helpers for integer min/max

These operations are re-invented by several targets so far.
Several supported hosts have insns for these, so place the
expanders out-of-line for a future introduction of tcg opcodes.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180508151437.4232-2-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tcg/tcg-op.c
tcg/tcg-op.h