History

optimization: cpuid is bad instruction for performance - cache it

lieff committed 8 years ago

Commit ab026df1 parent 29bae0f2 files · +8 −2Browse files

Showing the changes to scripts (1 of 2 files). Show all

Unified · Split

scripts/build.sh+2−1
@@ -6,7 +6,8 @@ pushd $CUR_DIR/.. · 5 unmodified lines
66
77 set -e
88
9−gcc -O2 -g -Wall -Wextra -o minimp3 minimp3_test.c -lm
9+gcc -O2 -g -Wall -Wextra -fno-asynchronous-unwind-tables -fno-stack-protector -ffunction-sections \
10+-fdata-sections -Wl,--gc-sections -o minimp3 minimp3_test.c -lm
1011
1112 APP=./minimp3
1213

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t