OSDN Git Service

Hexagon (tests/tcg/hexagon) Remove __builtin from scatter_gather
authorTaylor Simpson <tsimpson@quicinc.com>
Tue, 7 Mar 2023 02:58:23 +0000 (18:58 -0800)
committerTaylor Simpson <tsimpson@quicinc.com>
Tue, 7 Mar 2023 04:47:12 +0000 (20:47 -0800)
commitc36793854076bc4d445e2497ecd6eb420cd5ccde
tree20334316ccc7cf8e0ecac294a0aa2f13a1f5b931
parentd00d68b5045177fd4e871f036eaad742661c19d8
Hexagon (tests/tcg/hexagon) Remove __builtin from scatter_gather

Replace __builtin_* with inline assembly
    The __builtin's are subject to change with different compiler
    releases, so might break
Mark arrays as aligned when accessed as HVX vectors
Clean up comments

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Anton Johansson <anjo@rev.ng>
Message-Id: <20230307025828.1612809-10-tsimpson@quicinc.com>
tests/tcg/hexagon/scatter_gather.c