mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Introduce CPUID detection for Blink
This commit is contained in:
parent
4922bc4890
commit
3da887c58f
12 changed files with 19 additions and 14 deletions
|
@ -137,7 +137,9 @@ static const struct {
|
|||
};
|
||||
|
||||
TEST(printf, longdouble) {
|
||||
if (IsGenuineCosmo()) return; // TODO(jart): long double precision in blink
|
||||
if (IsGenuineCosmo() || IsGenuineBlink()) {
|
||||
return; // TODO(jart): long double precision in blink
|
||||
}
|
||||
int i;
|
||||
for (i = 0; i < ARRAYLEN(Vx); ++i) {
|
||||
++g_testlib_ran;
|
||||
|
|
|
@ -99,7 +99,6 @@ static void *CheckSchedule(void *arg) {
|
|||
TEST(pthread_create, scheduling) {
|
||||
pthread_t id;
|
||||
pthread_attr_t attr;
|
||||
if (IsGenuineCosmo()) return; // TODO(jart): blink
|
||||
struct sched_param pri = {sched_get_priority_min(SCHED_OTHER)};
|
||||
ASSERT_EQ(0, pthread_attr_init(&attr));
|
||||
ASSERT_EQ(0, pthread_attr_setinheritsched(&attr, PTHREAD_EXPLICIT_SCHED));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue