diff options
| author | Taylor Simpson <tsimpson@quicinc.com> | 2023-04-07 13:45:21 -0700 |
|---|---|---|
| committer | Taylor Simpson <tsimpson@quicinc.com> | 2023-04-21 09:32:52 -0700 |
| commit | 111c529aa652fde71fe54a91776ffd166b724b42 (patch) | |
| tree | e234b28a54e614c6a8d00956b8b78424aad3fb5a /target/hexagon/gen_helper_funcs.py | |
| parent | 761e1c675e73502f95fc9e70aaeb4f228985cc44 (diff) | |
| download | focaccia-qemu-111c529aa652fde71fe54a91776ffd166b724b42.tar.gz focaccia-qemu-111c529aa652fde71fe54a91776ffd166b724b42.zip | |
Hexagon (target/hexagon) Remove unused slot variable in helpers
The slot variable in helpers was only passed to log_reg_write function where the argument is unused. - Remove declaration from generated helper functions - Remove slot argument from log_reg_write Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230407204521.357244-1-tsimpson@quicinc.com>
Diffstat (limited to 'target/hexagon/gen_helper_funcs.py')
| -rwxr-xr-x | target/hexagon/gen_helper_funcs.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/hexagon/gen_helper_funcs.py b/target/hexagon/gen_helper_funcs.py index c4e04508f8..c73d792580 100755 --- a/target/hexagon/gen_helper_funcs.py +++ b/target/hexagon/gen_helper_funcs.py @@ -308,8 +308,6 @@ def gen_helper_function(f, tag, tagregs, tagimms): f.write(", ") f.write("uint32_t part1") f.write(")\n{\n") - if not hex_common.need_slot(tag): - f.write(" uint32_t slot __attribute__((unused)) = 4;\n") if hex_common.need_ea(tag): gen_decl_ea(f) ## Declare the return variable |