diff options
| author | phorcys <phorcys@126.com> | 2025-07-29 15:08:24 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-29 09:08:24 +0200 |
| commit | f43a221ffca63e96e33301148df240a91df0d3c2 (patch) | |
| tree | 90d7fd67d372a8056fd092585ec084bd9249d975 /src/os/hostext_linux.c | |
| parent | 397399fd30cc8ebe2c45440a2afc8e7c6c0f80f4 (diff) | |
| download | box64-f43a221ffca63e96e33301148df240a91df0d3c2.tar.gz box64-f43a221ffca63e96e33301148df240a91df0d3c2.zip | |
[LA64_DYNAREC] Add la64 avx float ops part 3. (#2845)
* add cpuext.frecipe for LoongArch V1.1
* Fix VFRSQRTE in sse op RSQRTPS/RSQRTSS
* Fix VFRECIPE in sse op RCPPS/RCPSS
* V{MAX,MIN}{PD,PS,SD,SS}
* VRCPPS,VRCPSS
* VRSQRTPS,VRSQRTSS
* VSQRT{PD,PS,SD,SS}Diffstat (limited to 'src/os/hostext_linux.c')
| -rw-r--r-- | src/os/hostext_linux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/hostext_linux.c b/src/os/hostext_linux.c index a2a45db2..c202a33f 100644 --- a/src/os/hostext_linux.c +++ b/src/os/hostext_linux.c @@ -191,6 +191,7 @@ int DetectHostCpuFeatures(void) if (((cpucfg2 >> 6) & 0b11) != 3) return 0; // LSX/LASX must present cpuext.lbt = (cpucfg2 >> 18) & 0b1; + cpuext.frecipe = (cpucfg2 >> 25) & 0b1; cpuext.lam_bh = (cpucfg2 >> 27) & 0b1; cpuext.lamcas = (cpucfg2 >> 28) & 0b1; cpuext.scq = (cpucfg2 >> 30) & 0b1; |