mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #2503 - Part 1: add CPU IS support flags to Navigator interface
This commit is contained in:
parent
2811d30051
commit
35d7a1fe5a
3 changed files with 18 additions and 0 deletions
|
|
@ -678,6 +678,18 @@ Navigator::CpuHasSSE2()
|
|||
return mozilla::supports_sse2();
|
||||
}
|
||||
|
||||
bool
|
||||
Navigator::CpuHasAVX()
|
||||
{
|
||||
return mozilla::supports_avx();
|
||||
}
|
||||
|
||||
bool
|
||||
Navigator::CpuHasAVX2()
|
||||
{
|
||||
return mozilla::supports_avx2();
|
||||
}
|
||||
|
||||
void
|
||||
Navigator::RefreshMIMEArray()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue