Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  goom2k4-mmx-only.patch  Sprache: unbekannt

 
Spracherkennung für: .patch vermutete Sprache: Python {Python[48] Masm[42] SPS[39]} [Methode: maximale Elemente, drei Dimensionen]

--- goom/src/mmx.h.orig 2024-05-24 10:28:08.890273700 +0200
+++ goom/src/mmx.h 2024-05-24 10:28:33.482644400 +0200
@@ -27,6 +27,8 @@
 #ifndef _MMX_H
 #define _MMX_H
 
+#define HAVE_FORCE_MMX 1
+
 #include "goom_graphic.h"
 
 /* Warning:  at this writing, the version of GAS packaged
@@ -63,6 +65,9 @@ typedef union {
 static int
 mm_support(void)
 {
+#ifdef HAVE_FORCE_MMX
+ return 0x1; // MMX only
+#else /* HAVE_FORCE_MMX */
  /* Returns 1 if MMX instructions are supported,
     3 if Cyrix MMX and Extended MMX instructions are supported
     5 if AMD MMX and 3DNow! instructions are supported
@@ -223,6 +228,7 @@ mm_support(void)
 
  /* Return */
  return(rval);
+#endif /* HAVE_FORCE_MMX */
 }
 
 /* Function to test if mmx instructions are supported...

[Dauer der Verarbeitung: 0.2 Sekunden, vorverarbeitet 2026-10-24]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1104856
#Domains=417287