about summary refs log tree commit diff stats
path: root/src/os
diff options
context:
space:
mode:
Diffstat (limited to 'src/os')
-rw-r--r--src/os/hostext_common.c2
-rw-r--r--src/os/hostext_linux.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/os/hostext_common.c b/src/os/hostext_common.c
index 258e1af4..c167d2a7 100644
--- a/src/os/hostext_common.c
+++ b/src/os/hostext_common.c
@@ -39,6 +39,8 @@ void PrintHostCpuFeatures(void)
         printf_log_prefix(0, LOG_INFO, " LAMCAS");
     if (cpuext.scq)
         printf_log_prefix(0, LOG_INFO, " SCQ");
+    if (cpuext.frecipe)
+        printf_log_prefix(0, LOG_INFO, " FRECIP");
     printf_log_prefix(0, LOG_INFO, "\n");
 #elif defined(RV64)
     printf_log(LOG_INFO, "Dynarec for rv64g");
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;