[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 04/48] target/loongarch: Add avail_LASX to check LASX instruct
From: |
Song Gao |
Subject: |
[PATCH v4 04/48] target/loongarch: Add avail_LASX to check LASX instructions |
Date: |
Wed, 30 Aug 2023 16:48:18 +0800 |
Signed-off-by: Song Gao <gaosong@loongson.cn>
---
target/loongarch/translate.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/loongarch/translate.h b/target/loongarch/translate.h
index 89b49a859e..195f53573a 100644
--- a/target/loongarch/translate.h
+++ b/target/loongarch/translate.h
@@ -23,6 +23,7 @@
#define avail_LSPW(C) (FIELD_EX32((C)->cpucfg2, CPUCFG2, LSPW))
#define avail_LAM(C) (FIELD_EX32((C)->cpucfg2, CPUCFG2, LAM))
#define avail_LSX(C) (FIELD_EX32((C)->cpucfg2, CPUCFG2, LSX))
+#define avail_LASX(C) (FIELD_EX32((C)->cpucfg2, CPUCFG2, LASX))
#define avail_IOCSR(C) (FIELD_EX32((C)->cpucfg1, CPUCFG1, IOCSR))
/*
--
2.39.1
- [PATCH v4 00/48] Add LoongArch LASX instructions, Song Gao, 2023/08/30
- [PATCH v4 04/48] target/loongarch: Add avail_LASX to check LASX instructions,
Song Gao <=
- [PATCH v4 03/48] target/loongarch: Add CHECK_ASXE maccro for check LASX enable, Song Gao, 2023/08/30
- [PATCH v4 06/48] target/loongarch: Implement xvreplgr2vr, Song Gao, 2023/08/30
- [PATCH v4 01/48] target/loongarch: Add LASX data support, Song Gao, 2023/08/30
- [PATCH v4 09/48] target/loongarch: Implement xvsadd/xvssub, Song Gao, 2023/08/30
- [PATCH v4 07/48] target/loongarch: Implement xvaddi/xvsubi, Song Gao, 2023/08/30
- [PATCH v4 08/48] target/loongarch: Implement xvneg, Song Gao, 2023/08/30
- [PATCH v4 02/48] target/loongarch: meson.build support build LASX, Song Gao, 2023/08/30