Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ Specify the architecture in rcfiles to which the current entry applies. This opt

### BOX64_AVX

Expose AVX extension to CPUID and cpuinfo file. Default value is 2 on Arm64 because it's fully implemented in DynaRec, 0 otherwise. Available in WowBox64.
Expose AVX extension to CPUID and cpuinfo file. Default value is 2 on Arm64 and LoongArch64 because it's fully implemented in DynaRec, 0 otherwise. Available in WowBox64.

* 0: Do not expose AVX capabilities.
* 1: Expose AVX, BMI1, F16C and VAES extensions to CPUID and cpuinfo file.
Expand Down
2 changes: 1 addition & 1 deletion docs/USAGE_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ DynaCache 写入磁盘的最小大小(KB)。默认大小为 350KB。

### BOX64_AVX

向 CPUID 和 cpuinfo 文件暴露 AVX 扩展。在 Arm64 上默认值为 2,因为 DynaRec 已完全实现,其他架构默认为 0。 在 WowBox64 中可用。
向 CPUID 和 cpuinfo 文件暴露 AVX 扩展。在 Arm64 和龙架构上默认值为 2,因为 DynaRec 已完全实现,其他架构默认为 0。 在 WowBox64 中可用。

* 0: 不暴露 AVX 能力。
* 1: 向 CPUID 和 cpuinfo 文件暴露 AVX、BMI1、F16C 和 VAES 扩展。
Expand Down
2 changes: 1 addition & 1 deletion docs/box64.pod
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Arguments to pass to the guest program, only valid if there is no existing argum

=item B<BOX64_AVX> =I<0|1|2>

Expose AVX extension to CPUID and cpuinfo file. Default value is 2 on Arm64 because it's fully implemented in DynaRec, 0 otherwise. Available in WowBox64.
Expose AVX extension to CPUID and cpuinfo file. Default value is 2 on Arm64 and LoongArch64 because it's fully implemented in DynaRec, 0 otherwise. Available in WowBox64.

* 0 : Do not expose AVX capabilities.
* 1 : Expose AVX, BMI1, F16C and VAES extensions to CPUID and cpuinfo file.
Expand Down
2 changes: 1 addition & 1 deletion docs/gen/usage.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
},
{
"name": "BOX64_AVX",
"description": "Expose AVX extension to CPUID and cpuinfo file. Default value is 2 on Arm64 because it's fully implemented in DynaRec, 0 otherwise.",
"description": "Expose AVX extension to CPUID and cpuinfo file. Default value is 2 on Arm64 and LoongArch64 because it's fully implemented in DynaRec, 0 otherwise.",
"category": "Compatibility",
"wine": true,
"options": [
Expand Down
2 changes: 1 addition & 1 deletion docs/gen/usage_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}
},
"BOX64_AVX": {
"description": "向 CPUID 和 cpuinfo 文件暴露 AVX 扩展。在 Arm64 上默认值为 2,因为 DynaRec 已完全实现,其他架构默认为 0。",
"description": "向 CPUID 和 cpuinfo 文件暴露 AVX 扩展。在 Arm64 和龙架构上默认值为 2,因为 DynaRec 已完全实现,其他架构默认为 0。",
"options": {
"0": "不暴露 AVX 能力。",
"1": "向 CPUID 和 cpuinfo 文件暴露 AVX、BMI1、F16C 和 VAES 扩展。",
Expand Down
2 changes: 1 addition & 1 deletion src/include/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ extern char* ftrace_name;
INTEGER(BOX64_DYNACACHE_LIMIT, dynacache_limit, 2048, 0, 1048576, 0) \
INTEGER(BOX64_DYNACACHE_MIN, dynacache_min, 350, 0, 10240, 0)

#if defined(ARM64)
#if defined(ARM64) || defined (LA64)
#define ENVSUPER2() \
INTEGER(BOX64_AVX, avx, 2, 0, 2, 1)
#else
Expand Down
Loading