[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v4 22/29] Hexagon (target/hexagon) macros
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [RFC PATCH v4 22/29] Hexagon (target/hexagon) macros |
Date: |
Tue, 29 Sep 2020 14:34:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 9/28/20 7:28 PM, Taylor Simpson wrote:
> macros to interface with the generator
> macros referenced in instruction semantics
>
> Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
> ---
> target/hexagon/macros.h | 654
> ++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 654 insertions(+)
> create mode 100644 target/hexagon/macros.h
>
> diff --git a/target/hexagon/macros.h b/target/hexagon/macros.h
> new file mode 100644
> index 0000000..34831d4
> --- /dev/null
> +++ b/target/hexagon/macros.h
> @@ -0,0 +1,654 @@
> +/*
> + * Copyright(c) 2019-2020 Qualcomm Innovation Center, Inc. All Rights
> Reserved.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, see <http://www.gnu.org/licenses/>.
> + */
> +
> +#ifndef HEXAGON_MACROS_H
> +#define HEXAGON_MACROS_H
> +
> +#include "qemu/osdep.h"
Please do not include "qemu/osdep.h" in header.
> +#include "qemu/host-utils.h"
"qemu/host-utils.h" doesn't seem used.
> +#include "cpu.h"
> +#include "hex_regs.h"
> +#include "reg_fields.h"
> +
[...]
- [RFC PATCH v4 19/29] Hexagon (target/hexagon) generator phase 3 - C preprocessor for decode tree, (continued)
- [RFC PATCH v4 19/29] Hexagon (target/hexagon) generator phase 3 - C preprocessor for decode tree, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 12/29] Hexagon (target/hexagon) instruction attributes, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 09/29] Hexagon (target/hexagon) architecture types, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 17/29] Hexagon (target/hexagon) generator phase 1 - C preprocessor for semantics, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 20/29] Hexagon (target/hexagon) generater phase 4 - decode tree, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 14/29] Hexagon (target/hexagon) instruction printing, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 23/29] Hexagon (target/hexagon) instruction classes, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 22/29] Hexagon (target/hexagon) macros, Taylor Simpson, 2020/09/28
- Re: [RFC PATCH v4 22/29] Hexagon (target/hexagon) macros,
Philippe Mathieu-Daudé <=
- [RFC PATCH v4 15/29] Hexagon (target/hexagon) utility functions, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 29/29] Hexagon build infrastructure, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 18/29] Hexagon (target/hexagon) generator phase 2 - generate header files, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 16/29] Hexagon (target/hexagon/imported) arch import, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 21/29] Hexagon (target/hexagon) opcode data structures, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 25/29] Hexagon (target/hexagon) TCG for instructions with multiple definitions, Taylor Simpson, 2020/09/28
- [RFC PATCH v4 24/29] Hexagon (target/hexagon) TCG generation, Taylor Simpson, 2020/09/28