Page 1 of 1

Build Goanna without SSE2?

Posted: 2017-11-29, 03:39
by roytam1
I wonder if people can build Goanna without SSE2 using MSVC?

Re: Build Goanna without SSE2?

Posted: 2017-11-29, 08:59
by Moonchild
Potentially, by adding -arch:IA32 to --enable-optimize={{flags}}

Re: Build Goanna without SSE2?

Posted: 2017-11-29, 12:26
by Mercury
In theory, yes. From my experience with PM v26, the "--enable-optimize" option isn't quite enough. There's something deep in the build process that ignores it. I also set the "CL" variable. You can see my old .mozconfig file here. The key lines are:

Code: Select all

export CL="-O2 -arch:SSE"
ac_add_options --enable-optimize="-O2 -GL -GS- -fp:precise -Qfast_transcendentals -Qpar -arch:SSE"

Re: Build Goanna without SSE2?

Posted: 2017-11-29, 12:36
by roytam1
Mercury wrote:In theory, yes. From my experience with PM v26, the "--enable-optimize" option isn't quite enough. There's something deep in the build process that ignores it. I also set the "CL" variable. You can see my old .mozconfig file here. The key lines are:

Code: Select all

export CL="-O2 -arch:SSE"
ac_add_options --enable-optimize="-O2 -GL -GS- -fp:precise -Qfast_transcendentals -Qpar -arch:SSE"
Since pm26 is fx24esr based and pm27 is fx38esr based, I don't know if mozpeople will make use of SSE(2) with inline assembly or .asm/.s files. Some people says binary don't run on their Athlon XP/Pentium M but I can't test it as I don't have such systems now.

Re: Build Goanna without SSE2?

Posted: 2017-11-29, 13:06
by New Tobin Paradigm
Application vs Platform unless you are talking about Quantum, This needs to be observed. Saying Pale Moon 27 is or was based on Firefox 38 is wholly incorrect because ONE Pale Moon 27's application specific code is drived from Pale Moon 26 which orginate mostly from Firefox 24esr but Pale Moon 27 builds on the platform we codenamed Tycho which is derived from Mozilla/gecko 38esr and TWO I physically obliterated Firefox 38's specific code from Tycho before I ported Pale Moon to it.

So you would properly say some platform components in Tycho are force built with sse2 as defined deeper in the codebase by the build files.

As an aside I have come to retroactively call the platform codebase that started life out as esr24, that Pale Moon 24 to 26 built on, the "liberation" codebase cause i like to name things.

Also see: http://xref.palemoon.org/palemoon-trunk/search?string=sse2

Re: Build Goanna without SSE2?

Posted: 2017-11-29, 14:14
by roytam1
If "based on fx38esr" hurts you, I can replace it with "based on xulrunner38esr" instead.

Re: Build Goanna without SSE2?

Posted: 2017-11-29, 14:33
by New Tobin Paradigm
roytam1 wrote:If "based on fx38esr" hurts you, I can replace it with "based on xulrunner38esr" instead.
XUL Runner is merely an application Like Firefox, Basilisk, or Pale Moon (although nothing more than a stub it is treated as an application never the less). So that would also be incorrect. Dunno why people have such issues with the concept or take issue with me explaining it.. Maybe I should go back to obeying my soft-ban if no one is gonna find my unique insight and practical experience of any value. Nah go ahead of continue to cloud the issue and confuse people with misconceptions and falsehoods.

Peace.

Re: Build Goanna without SSE2?

Posted: 2017-11-30, 17:58
by Moonchild
@roytam1: please take the following as gospel from now on and stop preaching anything else to your congregation:

Pale Moon 24-26 is based on our diverging fork of Firefox 24ESR, which shares ancestral code with 24ESR (but is not equal to, because of previous application code development since 4.0), and is otherwise its own development.
Pale Moon 27 is based on Tycho, which is a hybrid of a collection of code from Mozilla 24 to 42 (roughly, more is back-ported from Mozilla code up to the current nightlies). Pale Moon's application code has nothing to do with Firefox 38, nor Xulrunner (which is just a platform shell application), nor ESR of any version of Firefox from that time.
Pale Moon 28 will be based on UXP, which will be a hybrid platform as well with no direct equal to Mozilla code at any specific point in time. More will be taken here from the Mozilla book to get a coherent unit of DOM+JS, discarding some of our previous work to move forward, but it will still have NO application code from Firefox-whatever version (unlike Basilisk).

Re: Build Goanna without SSE2?

Posted: 2017-12-05, 01:20
by roytam1
Moonchild wrote:Potentially, by adding -arch:IA32 to --enable-optimize={{flags}}
Alright I tried and it works even in emulator which has only 486-class CPU.

Re: Build Goanna without SSE2?

Posted: 2018-01-22, 22:53
by Fedor2
roytam1 did you tried arch:sse?
Once i tried to build with it and it was failing.
you may want to know that arch:ia32 was still used on firefox 45, but on 52 are became sse2.