projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8f1bdf
)
target/loongarch: Add avail_LASX to check LASX instructions
author
Song Gao
<gaosong@loongson.cn>
Thu, 14 Sep 2023 02:26:01 +0000
(10:26 +0800)
committer
Song Gao
<gaosong@loongson.cn>
Wed, 20 Sep 2023 03:43:11 +0000
(11:43 +0800)
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <
20230914022645
.
1151356
-14-gaosong@loongson.cn>
target/loongarch/translate.h
patch
|
blob
|
history
diff --git
a/target/loongarch/translate.h
b/target/loongarch/translate.h
index 89b49a859ea0e12e1b00a78849c610f507471bdc..195f53573a0b91283b73f79622b535ef2262dd28 100644
(file)
--- 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))
/*