Hexagon (target/hexagon) generator phase 1 - C preprocessor for semantics
authorTaylor Simpson <tsimpson@quicinc.com>
Mon, 8 Feb 2021 05:46:09 +0000 (23:46 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 18 Feb 2021 15:48:22 +0000 (07:48 -0800)
commitf7a9e80d5bf646077a25ecb0228321d3ecf0a055
tree805d0e17b53837900d65e805910aff4f66b55783
parent7cf9345c95cb2a5d909eb289254d3ca9f3379a61
Hexagon (target/hexagon) generator phase 1 - C preprocessor for semantics

Run the C preprocessor across the instruction definition files and macro
definition file to expand macros and prepare the semantics_generated.pyinc
file.  The resulting file contains one entry with the semantics for each
instruction and one line with the instruction attributes associated with
each macro.

Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-20-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hexagon/gen_semantics.c [new file with mode: 0644]