summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-11-18 18:49:17 (GMT)
committer Chris Young <chris@unsatisfactorysoftware.co.uk>2016-11-18 18:49:17 (GMT)
commitc2da6cbd25101cba9ae31a8fdebc253a61ff79cc (patch)
treed63fcc481a9d49f1e7b771ddbf90f869d9f7bbbb
parent2a937ae040d56864d2e6f29bdd682113cf40d9f6 (diff)
downloadnetsurf-c2da6cbd25101cba9ae31a8fdebc253a61ff79cc.tar.gz
netsurf-c2da6cbd25101cba9ae31a8fdebc253a61ff79cc.tar.bz2
Remove setting an env-var to force disable Altivec in libjpeg-turbo
a) v1.5.1 has Altivec off by default when built for OS4 b) I've moved my detection code into libjpeg-turbo, so the env-var will now *only* be an override
-rwxr-xr-xfrontends/amiga/dist/Install10
-rw-r--r--frontends/amiga/gui.c23
2 files changed, 0 insertions, 33 deletions
diff --git a/frontends/amiga/dist/Install b/frontends/amiga/dist/Install
index dd4eb51..b33b36c 100755
--- a/frontends/amiga/dist/Install
+++ b/frontends/amiga/dist/Install
@@ -289,16 +289,6 @@
(complete 75)
-; Force disable use of AltiVec if we don't have it
-(if (database "vectorunit" "0")
- (
- (textfile
- (dest "ENVARC:JSIMD_FORCENONE")
- (append "1")
- )
- )
-)
-
(if (= (exists "ENVARC:Sys/def_css.info") 0)
(copyfiles
(prompt "Copying default CSS icon")
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index fdbced2..459e768 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -5542,29 +5542,6 @@ int main(int argc, char** argv)
/* Open splash window */
Object *splash_window = ami_gui_splash_open();
-#ifdef __amigaos4__
- /* Check for AltiVec */
- uint32 altivec = 0;
-
- GetCPUInfoTags(GCIT_VectorUnit, &altivec, TAG_DONE);
-
- if(altivec == VECTORTYPE_ALTIVEC) {
- LOG("AltiVec detected");
- } else {
- char jsimd_forcenone[10];
-
- LOG("AltiVec NOT detected");
- int32 len = GetVar("JSIMD_FORCENONE", jsimd_forcenone, 10, GVF_GLOBAL_ONLY);
-
- if(len == -1) {
- LOG("WARNING: JSIMD_FORCENONE NOT SET");
- SetVar("JSIMD_FORCENONE", "1", 1, GVF_GLOBAL_ONLY | GVF_SAVE_VAR);
- } else {
- LOG("JSIMD_FORCENONE = %s (NB: Should be '1' for this architecture)", jsimd_forcenone);
- }
- }
-#endif
-
ami_object_init();
if (ami_open_resources() == false) { /* alloc message ports */