Hexagon (target/hexagon) cleanup ternary operators in semantics
authorTaylor Simpson <tsimpson@quicinc.com>
Fri, 9 Apr 2021 01:07:41 +0000 (20:07 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 1 May 2021 15:31:43 +0000 (08:31 -0700)
commit9fe33c0e7048b979d39ee579962d94871ea42e0a
tree07fdf5111dc4fa2a8c35e7115b7598d8edc6fa64
parentb3f37abdd3f4919c81ea42f9f729875544623df2
Hexagon (target/hexagon) cleanup ternary operators in semantics

Change  (cond ? (res = x) : (res = y)) to res = (cond ? x : y)

This makes the semnatics easier to for idef-parser to deal with

The following instructions are impacted
    C2_any8
    C2_all8
    C2_mux
    C2_muxii
    C2_muxir
    C2_muxri

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1617930474-31979-14-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hexagon/imported/compare.idef