Hexagon (target/hexagon) Analyze reads before writes
authorTaylor Simpson <ltaylorsimpson@gmail.com>
Thu, 1 Feb 2024 10:33:38 +0000 (03:33 -0700)
committerBrian Cain <bcain@quicinc.com>
Sun, 5 May 2024 23:22:07 +0000 (16:22 -0700)
commit76eaa97157f6204e04fa1d79529420760f7a408a
tree780b583cc9a15a11204b836275a8322b7f7fa429
parent248f6f62df073a3b4158fd0093863ab885feabb5
Hexagon (target/hexagon) Analyze reads before writes

We divide gen_analyze_funcs.py into 3 phases
    Declare the operands
    Analyze the register reads
    Analyze the register writes

We also create special versions of ctx_log_*_read for new operands
    Check that the operand is written before the read

This is a precursor to improving the analysis for short-circuiting
the packet semantics in a subsequent commit

Signed-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <bcain@quicinc.com>
Message-Id: <20240201103340.119081-2-ltaylorsimpson@gmail.com>
Signed-off-by: Brian Cain <bcain@quicinc.com>
target/hexagon/README
target/hexagon/gen_analyze_funcs.py
target/hexagon/hex_common.py
target/hexagon/translate.h