mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-26 22:38:30 +00:00
Add maxmind demo to redbean-demo.com
This commit is contained in:
parent
c4d8f40422
commit
c541225af0
9 changed files with 355 additions and 30 deletions
|
@ -18,6 +18,7 @@
|
|||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/bits/popcnt.h"
|
||||
#include "libc/testlib/ezbench.h"
|
||||
#include "libc/testlib/hyperion.h"
|
||||
#include "libc/testlib/testlib.h"
|
||||
|
||||
TEST(popcnt, test) {
|
||||
|
@ -31,4 +32,5 @@ BENCH(popcnt, bench) {
|
|||
EXPROPRIATE(popcnt(VEIL("r", 0x5555555555555555))));
|
||||
EZBENCH2("(popcnt)", donothing,
|
||||
EXPROPRIATE((popcnt)(VEIL("r", 0x5555555555555555))));
|
||||
EZBENCH_N("_countbits", kHyperionSize, _countbits(kHyperion, kHyperionSize));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue