netsurf: branch master updated. release/3.5-378-gc2da6cb
by NetSurf Browser Project
Gitweb links:
...log http://git.netsurf-browser.org/netsurf.git/shortlog/c2da6cbd25101cba9ae31...
...commit http://git.netsurf-browser.org/netsurf.git/commit/c2da6cbd25101cba9ae31a8...
...tree http://git.netsurf-browser.org/netsurf.git/tree/c2da6cbd25101cba9ae31a8fd...
The branch, master has been updated
via c2da6cbd25101cba9ae31a8fdebc253a61ff79cc (commit)
from 2a937ae040d56864d2e6f29bdd682113cf40d9f6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff http://git.netsurf-browser.org/netsurf.git/commit/?id=c2da6cbd25101cba9ae...
commit c2da6cbd25101cba9ae31a8fdebc253a61ff79cc
Author: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris(a)unsatisfactorysoftware.co.uk>
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
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 */
-----------------------------------------------------------------------
Summary of changes:
frontends/amiga/dist/Install | 10 ----------
frontends/amiga/gui.c | 23 -----------------------
2 files changed, 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 */
--
NetSurf Browser