diff options
author | Taylor Simpson <tsimpson@quicinc.com> | 2021-04-08 20:07:47 -0500 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-05-01 08:31:43 -0700 |
commit | da74cd2dced1ca36ffa864e70cf5ee8d3a8c1fab (patch) | |
tree | 0779332fe8e62134865a4a91dd0e79d9e541409a /target/hexagon/gen_tcg.h | |
parent | dd8705bdf529d2c694ec3a4d4a2c18bb770d5c6c (diff) | |
download | qemu-da74cd2dced1ca36ffa864e70cf5ee8d3a8c1fab.zip qemu-da74cd2dced1ca36ffa864e70cf5ee8d3a8c1fab.tar.gz qemu-da74cd2dced1ca36ffa864e70cf5ee8d3a8c1fab.tar.bz2 |
Hexagon (target/hexagon) add A5_ACS (vacsh)
Rxx32,Pe4 = vacsh(Rss32, Rtt32)
Add compare and select elements of two vectors
Test cases in tests/tcg/hexagon/multi_result.c
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1617930474-31979-20-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hexagon/gen_tcg.h')
-rw-r--r-- | target/hexagon/gen_tcg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/hexagon/gen_tcg.h b/target/hexagon/gen_tcg.h index d78e7b8..93310c5 100644 --- a/target/hexagon/gen_tcg.h +++ b/target/hexagon/gen_tcg.h @@ -199,6 +199,11 @@ * Mathematical operations with more than one definition require * special handling */ +#define fGEN_TCG_A5_ACS(SHORTCODE) \ + do { \ + gen_helper_vacsh_pred(PeV, cpu_env, RxxV, RssV, RttV); \ + gen_helper_vacsh_val(RxxV, cpu_env, RxxV, RssV, RttV); \ + } while (0) /* * Approximate reciprocal |