--- nono/wx/wxversion.cpp 2026/04/29 17:05:23 1.1.1.7 +++ nono/wx/wxversion.cpp 2026/04/29 17:05:27 1.1.1.8 @@ -70,6 +70,7 @@ HostInfoMonitor::HostInfoMonitor() // この時点で必要な情報は全部集めておく int width = 0; + int height = 3; // OS 名 const auto info = wxPlatformInfo::Get(); @@ -122,6 +123,7 @@ HostInfoMonitor::HostInfoMonitor() // CPU Features #if defined(__x86_64__) + height++; # if defined(HAVE_AVX2) if (gMainApp.detect_avx2) { if (gMainApp.enable_avx2) { @@ -136,7 +138,25 @@ HostInfoMonitor::HostInfoMonitor() avx2str = "not compiled"; # endif #endif + +#if defined(__aarch64__) + height++; +# if defined(HAVE_NEON) + if (gMainApp.detect_neon) { + if (gMainApp.enable_neon) { + neonstr = "enabled"; + } else { + neonstr = "disabled"; + } + } else { + neonstr = "not detected"; + } +# else + neonstr = "not compiled"; +# endif +#endif width = std::max(width, (int)avx2str.Length()); + width = std::max(width, (int)neonstr.Length()); // wxWidgets バージョン wxname = wxVERSION_NUM_DOT_STRING_T; @@ -149,10 +169,6 @@ HostInfoMonitor::HostInfoMonitor() wxname = wxname + " (" + wxport + ")"; width = std::max(width, (int)wxname.Length()); - int height = 3; -#if defined(__x86_64__) // HAVE_AVX2 ではなく - height++; -#endif monitor.func = ToMonitorCallback(&HostInfoMonitor::MonitorUpdate); monitor.SetSize(11 + width, height); monitor.Regist(ID_MONITOR_WXHOSTINFO); @@ -187,6 +203,11 @@ HostInfoMonitor::MonitorUpdate(Monitor * screen.Puts(x, y, (const char *)avx2str.mb_str()); y++; #endif +#if defined(__aarch64__) + screen.Puts(0, y, "NEON:"); + screen.Puts(x, y, (const char *)neonstr.mb_str()); + y++; +#endif screen.Puts(0, y, "wxWidgets:"); screen.Puts(x, y, (const char *)wxname.mb_str());