Skip to contentSkip to conversation

How to disable SIMD extensions (mmx, sse3, ...)?

DISCUSSION Mauro Ziliani 2 participants 2 messages Jun 4, 2019

lore
Share & tools
lore
#0 lore raw

Hi all.

I'm working with a Geode LX800, porting an old application Debian-based into Yocto Thud.

I need to disable some multimedia SIMD extensions for gcc compiler.

Where I can do this?

I suppose I have to disable SIMD extensions in conf/machine/geode_lx800.conf file (the machine descriptor file), but I cannot find any document about.

Can you help me?

MZ

#1 lore raw
Quoted 1 line · Mauro Ziliani

Hi all.

Hi Mauro,

Quoted 2 lines

I'm working with a Geode LX800, porting an old application Debian-based into Yocto Thud.

I assume you are aware that the Geode LX is should still work with the latest Debian releases.

Quoted 1 line

I need to disable some multimedia SIMD extensions for gcc compiler.

Why do you want to also disable MMX?
The AMD Geode LX does support MMX (and 3DNow!).

Quoted 6 lines

Where I can do this?

I suppose I have to disable SIMD extensions in conf/machine/geode_lx800.conf file (the machine descriptor file), but I cannot find any document about.

Can you help me?

Passing -march=geode to the compiler should enable exactly the instructions supported by the CPU.

Quoted 1 line

MZ

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed