From 6fb6402a701fbf5de03d7cd761c2685d8b3074ed Mon Sep 17 00:00:00 2001 From: Kim Walisch Date: Sat, 17 Dec 2016 11:52:58 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 22a48d1..324b00c 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,8 @@ contains extensive benchmarks for the 3 algorithms used in ```libpopcnt.h```. The algorithm are named ```builtin-popcnt-unrolled```, ```avx2-harley-seal```, ```harley-seal```. -C++ API -======= +C/C++ API +========= ```C++ #include "libpopcnt.h" @@ -55,11 +55,11 @@ At compile time you need to specify if your compiler supports the ```bash # How to compile on x86_64 CPUs -g++ -mpopcnt -DHAVE_POPCNT -mavx2 -DHAVE_AVX2 program.c +gcc -mpopcnt -DHAVE_POPCNT -mavx2 -DHAVE_AVX2 program.c # How to compile using Microsoft Visual C++ cl /O2 /EHsc /D HAVE_POPCNT /arch:AVX2 /D HAVE_AVX2 program.cpp # How to compile on IBM POWER8 CPUs -g++ -mpopcntd -DHAVE_POPCNT program.c +gcc -mpopcntd -DHAVE_POPCNT program.c ```