|
| From: | Richard Henderson |
| Subject: | Re: [PATCH v3 03/20] target/riscv: Introduce elp state and enabling controls for zicfilp |
| Date: | Wed, 7 Aug 2024 10:56:12 +1000 |
| User-agent: | Mozilla Thunderbird |
On 8/7/24 10:06, Deepak Gupta wrote:
+/* enum for branch tracking state in cpu/hart */
+typedef enum {
+ NO_LP_EXPECTED = 0,
+ LP_EXPECTED = 1,
+} cfi_elp;
I know this is language is in the spec, but would it make more sense to use bool elp_expected; ? If not, Coding Style requires CamelCase for typedefs. r~
| [Prev in Thread] | Current Thread | [Next in Thread] |