[gst-devel] Configuration (fwd)

Erik Walthinsen omega at cse.ogi.edu
Tue Feb 1 19:59:15 CET 2000

On Tue, 1 Feb 2000, Wim Taymans wrote:

> Almost, it's activated at compile time. If you compile this on an MMX
> capable compiler, it will crash on a regular pentium.
Er, right.  It's activiated at compile-time right now, but there's an if
(1) there to be replaced with if (mmx_supported()) or whatever.  I just
haven't implemented it because mm_support() as shipped in mmx.h is
completely useless in anything but a standalone .c file, since it defines
jump points with static names, meaning that any time you include the file
in more than one source file, you get multiple definitions.  And just try
putting mmx.h and sse.h in the same file... ;-(

With mmx.h in include now, I'll see about fixing those problems.  Most
likely the solution is to rewrite mm_support partially in C, so the
branches are managed by the compiler instead of inline asm's static
naming.  Then we can start making MMX a run-time option.

         Erik Walthinsen <omega at cse.ogi.edu> - Staff Programmer @ OGI
        Quasar project - http://www.cse.ogi.edu/DISC/projects/quasar/
   Video4Linux Two drivers and stuff - http://www.cse.ogi.edu/~omega/v4l2/
       /  \             SEUL: Simple End-User Linux - http://www.seul.org/
      |    | M E G A           Helping Linux become THE choice
      _\  /_                          for the home or office user

More information about the gstreamer-devel mailing list