[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v14 02/26] target/loongarch: Add core definition
|
From: |
gaosong |
|
Subject: |
Re: [PATCH v14 02/26] target/loongarch: Add core definition |
|
Date: |
Mon, 10 Jan 2022 21:00:06 +0800 |
|
User-agent: |
Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
Hi,
On 2022/1/9 下午5:25, WANG Xuerui wrote:
+
+const char * const fregnames[32] = {
+ "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7",
+ "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15",
+ "f16", "f17", "f18", "f19", "f20", "f21", "f22", "f23",
+ "f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31",
+};
+
+static const char * const excp_names[EXCP_LAST + 1] = {
+ [EXCP_SYSCALL] = "Syscall",
+ [EXCP_BREAK] = "Break",
+ [EXCP_INE] = "Instruction Non-existent",
Nit: "Instruction Non-Existent" (or is there any authoritative
source for this spelling? the English translation of the manual?)
I must admit that your English is really good, But 'Instruction Non-existent' is what you pointed out in v7. I have a history [1],
[1] https://patchew.org/QEMU/1634561247-25499-1-git-send-email-gaosong@loongson.cn/1634561247-25499-3-git-send-email-gaosong@loongson.cn/
> +static const char * const excp_names[EXCP_LAST + 1] = {
> + [EXCP_ADE] = "Address error",
> + [EXCP_SYSCALL] = "Syscall",
> + [EXCP_BREAK] = "Break",
> + [EXCP_INE] = "Inst. Not Exist",
Nit: "Instruction Non-existent", no need to shorten "instruction" like
this IMO; no other similar usages exist so this would not be consistent.
In any case thank you for your other suggestions.
Thanks
Song
- [PATCH v14 03/26] target/loongarch: Add main translation routines, (continued)
- [PATCH v14 03/26] target/loongarch: Add main translation routines, Song Gao, 2022/01/06
- [PATCH v14 04/26] target/loongarch: Add fixed point arithmetic instruction translation, Song Gao, 2022/01/06
- [PATCH v14 05/26] target/loongarch: Add fixed point shift instruction translation, Song Gao, 2022/01/06
- [PATCH v14 06/26] target/loongarch: Add fixed point bit instruction translation, Song Gao, 2022/01/06
- [PATCH v14 02/26] target/loongarch: Add core definition, Song Gao, 2022/01/06
- Re: [PATCH v14 02/26] target/loongarch: Add core definition,
gaosong <=
- Re: [PATCH v14 02/26] target/loongarch: Add core definition, WANG Xuerui, 2022/01/10
- Re: [PATCH v14 02/26] target/loongarch: Add core definition, gaosong, 2022/01/12
- Re: [PATCH v14 02/26] target/loongarch: Add core definition, gaosong, 2022/01/12
- Re: [PATCH v14 02/26] target/loongarch: Add core definition, WANG Xuerui, 2022/01/12
[PATCH v14 09/26] target/loongarch: Add fixed point extra instruction translation, Song Gao, 2022/01/06
[PATCH v14 11/26] target/loongarch: Add floating point comparison instruction translation, Song Gao, 2022/01/06
[PATCH v14 12/26] target/loongarch: Add floating point conversion instruction translation, Song Gao, 2022/01/06
[PATCH v14 14/26] target/loongarch: Add floating point load/store instruction translation, Song Gao, 2022/01/06
[PATCH v14 10/26] target/loongarch: Add floating point arithmetic instruction translation, Song Gao, 2022/01/06
[PATCH v14 15/26] target/loongarch: Add branch instruction translation, Song Gao, 2022/01/06