![](http://investorshub.advfn.com/images/default_ih_profile2_4848.jpg?cb=0)
Monday, August 09, 2004 2:29:23 PM
D'oh! That reviewer should stick to running Doom3 timedemos.
http://www.aceshardware.com/forum?read=115093869
Ok, his Makefile is completely f*cked up...
By Foo_ on Monday, August 9, 2004 2:18 PM EDT
I have found why he has so terrible results. The Makefile he gives for TSCP does not optimize (-O2 flag) during the compile stage, only in the linking stage where it's useless.
See :
$ cat Makefile
SRC = main.c board.c book.c data.c eval.c search.c
BIN = tscp
OBJ = $(SRC:.c=.o)
CC = gcc
CFLAGS = -ansi -pedantic
OPTIMIZE = -O2
$(BIN):$(OBJ)
$(CC) $(CFLAGS) $(OPTIMIZE) $(OBJ) -o $(BIN)
%.o: %.c
$(CC) -c $< -o $@
.PHONY: clean lint
clean:
rm -f $(OBJ) $(BIN) *.core 2> /dev/null
lint:
lint $(SRC)
$ make
gcc -c main.c -o main.o
gcc -c board.c -o board.o
gcc -c book.c -o book.o
gcc -c data.c -o data.o
gcc -c eval.c -o eval.o
gcc -c search.c -o search.o
gcc -ansi -pedantic -O2 main.o board.o book.o data.o eval.o search.o -o tscp
$
With the broken Makefile I only get 140 k n/s, instead of 281 with the intended optimizations applied during the compile stage.
Recent AMD News
- Costco Hikes Membership Fees; ON Semiconductor Stock Drops 3%; WD-40 Soars 13% on Strong Q3 Earnings • IH Market News • 07/11/2024 10:17:26 AM
- AMD to Acquire Silo AI to Expand Enterprise AI Solutions Globally • GlobeNewswire Inc. • 07/10/2024 01:05:00 PM
- U.S. Stock Futures Rise Amid Focus on Fed Chairman Powell’s Speech, Oil Prices Fall • IH Market News • 07/09/2024 10:56:09 AM
- U.S. Stocks Close On Mixed Note; Nasdaq, S&P Hit Record Closing Highs • IH Market News • 07/08/2024 08:48:15 PM
- U.S. Index Futures Modestly Higher Before Key Economic Data Release; Early Closure for July 4th Holiday • IH Market News • 07/03/2024 11:01:33 AM
- Major Averages Close On Firm Note As Stocks Rally After Early Struggle • IH Market News • 07/02/2024 08:44:00 PM
- Honeywell Acquires CAES Systems for $1.9 Billion, Sarepta Therapeutics Surges 34%, Gilead Continues Gains • IH Market News • 06/21/2024 12:00:38 PM
- Trump Media Resells Stocks and Warrants; KB Home Exceeds Q2 Expectations, and More News • IH Market News • 06/20/2024 10:55:11 AM
- AMD to Power AI-Based Smart Parking Solution for Sun Singapore, the Country’s Largest Provider of Smart Parking Services • GlobeNewswire Inc. • 06/19/2024 01:00:00 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/18/2024 08:18:09 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/18/2024 08:12:29 PM
- Form 144 - Report of proposed sale of securities • Edgar (US Regulatory) • 06/14/2024 08:03:45 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/13/2024 08:14:12 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/12/2024 08:34:23 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/11/2024 09:40:41 PM
- Form 144 - Report of proposed sale of securities • Edgar (US Regulatory) • 06/10/2024 09:22:35 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/10/2024 08:16:19 PM
- AMD to Present at the UBS Women in Tech Summit • GlobeNewswire Inc. • 06/10/2024 01:15:00 PM
- Apple Showcases AI at WWDC 2024, Nvidia Stock Split Starts Today, and More News • IH Market News • 06/10/2024 11:29:44 AM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/07/2024 08:16:25 PM
- AMD to Present at the Nasdaq London Investor Conference • GlobeNewswire Inc. • 06/06/2024 08:15:00 PM
- Form 4 - Statement of changes in beneficial ownership of securities • Edgar (US Regulatory) • 06/06/2024 08:11:40 PM
- Form 144 - Report of proposed sale of securities • Edgar (US Regulatory) • 06/05/2024 08:27:23 PM
- Economic Worries May Lead To Weakness On Wall Street • IH Market News • 06/04/2024 01:10:54 PM
- AMD Unveils Next-Gen “Zen 5” Ryzen Processors to Power Advanced AI Experiences • GlobeNewswire Inc. • 06/03/2024 03:01:00 AM
Cannabix Technologies and Omega Laboratories Inc. Provide Positive Developments on Marijuana Breathalyzer Testing • BLO • Jul 11, 2024 8:21 AM
ECGI Holdings Enhances Board with Artificial Intelligence (AI) Expert Ahead of Allon Apparel Launch • ECGI • Jul 10, 2024 8:30 AM
Avant Technologies to Meet Unmet Needs in AI Industry While Addressing Sustainability Concerns • AVAI • Jul 10, 2024 8:00 AM
Panther Minerals Inc. Launches Investor Connect AI Chatbot for Enhanced Investor Engagement and Lead Generation • PURR • Jul 9, 2024 9:00 AM
Glidelogic Corp. Becomes TikTok Shop Partner, Opening a New Chapter in E-commerce Services • GDLG • Jul 5, 2024 7:09 AM
Freedom Holdings Corporate Update; Announces Management Has Signed Letter of Intent • FHLD • Jul 3, 2024 9:00 AM