diff options
author | Taylor Simpson <tsimpson@quicinc.com> | 2021-04-08 20:07:35 -0500 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-05-01 08:31:43 -0700 |
commit | 92cfa25fd2cf65749a93507e132225066bc19ed5 (patch) | |
tree | 8ba024e030261cb052ef7b0e01fb760b808b06ac /target/hexagon/cpu_bits.h | |
parent | 6c677c60ae34bd2c7936781ee8969e41b1dac81e (diff) | |
download | qemu-92cfa25fd2cf65749a93507e132225066bc19ed5.zip qemu-92cfa25fd2cf65749a93507e132225066bc19ed5.tar.gz qemu-92cfa25fd2cf65749a93507e132225066bc19ed5.tar.bz2 |
Hexagon (target/hexagon) change variables from int to bool when appropriate
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
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: <1617930474-31979-8-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hexagon/cpu_bits.h')
-rw-r--r-- | target/hexagon/cpu_bits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/hexagon/cpu_bits.h b/target/hexagon/cpu_bits.h index 96af834..96fef71 100644 --- a/target/hexagon/cpu_bits.h +++ b/target/hexagon/cpu_bits.h @@ -47,7 +47,7 @@ static inline uint32_t iclass_bits(uint32_t encoding) return iclass; } -static inline int is_packet_end(uint32_t endocing) +static inline bool is_packet_end(uint32_t endocing) { uint32_t bits = parse_bits(endocing); return ((bits == 0x3) || (bits == 0x0)); |