[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v3 13/34] Hexagon (target/hexagon) register map
From: |
Richard Henderson |
Subject: |
Re: [RFC PATCH v3 13/34] Hexagon (target/hexagon) register map |
Date: |
Wed, 26 Aug 2020 07:36:17 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 8/18/20 8:50 AM, Taylor Simpson wrote:
> +#ifndef HEXAGON_REGMAP_H
> +#define HEXAGON_REGMAP_H
> +
> + /* Name Num Table */
> +DEF_REGMAP(R_16, 16, 0, 1, 2, 3, 4, 5, 6, 7, 16, 17, 18, 19, 20, 21, 22, 23)
> +DEF_REGMAP(R__8, 8, 0, 2, 4, 6, 16, 18, 20, 22)
> +DEF_REGMAP(R__4, 4, 0, 2, 4, 6)
> +DEF_REGMAP(R_4, 4, 0, 1, 2, 3)
> +DEF_REGMAP(R_8S, 8, 0, 1, 2, 3, 16, 17, 18, 19)
> +DEF_REGMAP(R_8, 8, 0, 1, 2, 3, 4, 5, 6, 7)
> +DEF_REGMAP(V__8, 8, 0, 4, 8, 12, 16, 20, 24, 28)
> +DEF_REGMAP(V__16, 16, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28,
> 30)
Given that DEF_REGMAP itself is defined in decode.c, and not even in another
header file, why do these not live in decode.c as well?
r~
- Re: [RFC PATCH v3 06/34] Hexagon (disas) disassembler, (continued)
- [RFC PATCH v3 11/34] Hexagon (target/hexagon) register fields, Taylor Simpson, 2020/08/18
- [RFC PATCH v3 02/34] Hexagon (target/hexagon) README, Taylor Simpson, 2020/08/18
- [RFC PATCH v3 03/34] Hexagon (include/elf.h) ELF machine definition, Taylor Simpson, 2020/08/18
- [RFC PATCH v3 13/34] Hexagon (target/hexagon) register map, Taylor Simpson, 2020/08/18
- Re: [RFC PATCH v3 13/34] Hexagon (target/hexagon) register map,
Richard Henderson <=
- [RFC PATCH v3 14/34] Hexagon (target/hexagon) instruction/packet decode, Taylor Simpson, 2020/08/18
- [RFC PATCH v3 07/34] Hexagon (target/hexagon) scalar core helpers, Taylor Simpson, 2020/08/18
- [RFC PATCH v3 17/34] Hexagon (target/hexagon/imported) arch import - macro definitions, Taylor Simpson, 2020/08/18