Safe Cflags/Transmeta

From Gentoo Linux Wiki
Jump to: navigation, search

[edit] Transmeta Crusoe

vendor_id  : GenuineTMx86
cpu family  : 6
model  : 4
model name  : Transmeta(tm) Crusoe(tm) Processor TM5800
stepping  : 3
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -Os -mmmx -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
Note: TM5800 CPU's do not fully support all i686 instructions. Specifically, code alignment options are not supported. Using the '-Os' optimisation disables these; other optimisation flags should not be considered safe.

[edit] Transmeta Efficeon

vendor_id  : GenuineTMx86
cpu family  : 15
model  : 2
model name  : Transmeta Efficeon(tm) Processor TM8000
stepping  : 4
CHOST="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium3 -msse2 -O2 -pipe -falign-functions=0 -falign-jumps=0 -falign-loops=0"
CXXFLAGS="${CFLAGS}"
Note: The Efficeon processor will reorder and realign instructions on translating from x86 to VLIW (Very Long Instruction Word), so not aligning functions/jumps/loops will produce smaller executable without any effect on speed.
Personal tools
In other languages