diff options
author | Song Gao <gaosong@loongson.cn> | 2023-09-14 10:26:45 +0800 |
---|---|---|
committer | Song Gao <gaosong@loongson.cn> | 2023-09-20 14:33:43 +0800 |
commit | 2cd81e37512648a03d7dd37c39fa7fd50e2e4478 (patch) | |
tree | 4a8b9d33dba4b438126b6e11b8d16105704d40e8 /target/loongarch | |
parent | c7aa3309037fbda40a5ecbd3a9d8ef49e71f57e9 (diff) | |
download | qemu-2cd81e37512648a03d7dd37c39fa7fd50e2e4478.zip qemu-2cd81e37512648a03d7dd37c39fa7fd50e2e4478.tar.gz qemu-2cd81e37512648a03d7dd37c39fa7fd50e2e4478.tar.bz2 |
target/loongarch: CPUCFG support LASX
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230914022645.1151356-58-gaosong@loongson.cn>
Diffstat (limited to 'target/loongarch')
-rw-r--r-- | target/loongarch/cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c index a1d3f68..fc7f70f 100644 --- a/target/loongarch/cpu.c +++ b/target/loongarch/cpu.c @@ -393,6 +393,7 @@ static void loongarch_la464_initfn(Object *obj) data = FIELD_DP32(data, CPUCFG2, FP_DP, 1); data = FIELD_DP32(data, CPUCFG2, FP_VER, 1); data = FIELD_DP32(data, CPUCFG2, LSX, 1), + data = FIELD_DP32(data, CPUCFG2, LASX, 1), data = FIELD_DP32(data, CPUCFG2, LLFTP, 1); data = FIELD_DP32(data, CPUCFG2, LLFTP_VER, 1); data = FIELD_DP32(data, CPUCFG2, LSPW, 1); |