meta: rename to fx
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include <blue/core/bitop.h>
|
||||
#include <fx/core/bitop.h>
|
||||
#include <intrin.h>
|
||||
#include <assert.h>
|
||||
|
||||
@@ -16,7 +16,7 @@ static int check_popcnt_support()
|
||||
return (d[2] & 0x800000) ? CPU_FEATURE_YES : CPU_FEATURE_NO;
|
||||
}
|
||||
|
||||
int b_popcountl(long v)
|
||||
int fx_popcountl(long v)
|
||||
{
|
||||
if (cpu_supports_popcnt == CPU_FEATURE_UNKNOWN) {
|
||||
cpu_supports_popcnt = check_popcnt_support();
|
||||
@@ -34,7 +34,7 @@ int b_popcountl(long v)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int b_ctzl(long v)
|
||||
int fx_ctzl(long v)
|
||||
{
|
||||
unsigned long trailing_zero = 0;
|
||||
|
||||
@@ -51,7 +51,7 @@ int b_ctzl(long v)
|
||||
}
|
||||
}
|
||||
|
||||
int b_clzl(long v)
|
||||
int fx_clzl(long v)
|
||||
{
|
||||
unsigned long leading_zero = 0;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <Windows.h>
|
||||
#include <wincrypt.h>
|
||||
|
||||
uint64_t z__b_platform_random_seed_secure(void)
|
||||
uint64_t z__fx_platform_random_seed_secure(void)
|
||||
{
|
||||
BOOL status;
|
||||
HCRYPTPROV hCryptProv;
|
||||
@@ -24,7 +24,7 @@ uint64_t z__b_platform_random_seed_secure(void)
|
||||
return status == TRUE ? v : (uint64_t)-1;
|
||||
}
|
||||
|
||||
uint64_t z__b_platform_random_seed(void)
|
||||
uint64_t z__fx_platform_random_seed(void)
|
||||
{
|
||||
return z__b_platform_random_seed_secure();
|
||||
return z__fx_platform_random_seed_secure();
|
||||
}
|
||||
Reference in New Issue
Block a user