commit | 6ce21abd40b11cb6e2e016841871f6e3f5221f92 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Sat Feb 25 10:48:08 2023 -1000 |
committer | Richard Henderson <richard.henderson@linaro.org> | Mon Mar 13 06:44:38 2023 -0700 |
tree | f18fd834389af2552e57704b91d2b60a11697356 | |
parent | ab9ced73fa6679791c61d45768414cec578b6053 [diff] |
target/arm: Improve arm_rmode_to_sf Use proper enumeration types for input and output. Use a const array to perform the mapping, with an assert that the input is valid. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>