OS/2, eCS & ArcaOS - Technical > Internet

New SeaMonkey builds

<< < (2/6) > >>

Dave Yeo:

--- Quote from: OS4User on June 09, 2018, 09:53:28 am ---
--- Quote from: Dave Yeo on June 09, 2018, 07:59:33 am ---and will build for other CPU's.

--- End quote ---

is it possible to build with AVX optimization ?

--- End quote ---

It is, at least where assembly is used. For example in xul.map I see

--- Code: ---0001:00798bb3  _ARGBCopyAlphaRow_SSE2
0001:00798c13  _ARGBCopyAlphaRow_AVX2
0001:00798c56  _ARGBCopyYToAlphaRow_SSE2
0001:00798cba  _ARGBCopyYToAlphaRow_AVX2
...
0001:0079a67b  _ARGBShuffleRow_AVX2
0001:0079a6bd  _ARGBShuffleRow_Any_AVX2
...
0002:00099d11  __ZN2js3jit7CPUInfo10avxPresentE
0002:00099d10* __ZN2js3jit7CPUInfo10avxEnabledE

--- End code ---

The last is the JavaScript jit engine which has various AVX code paths but I'm not sure if all are enabled by default, js.cpp seems to imply they're not while config.status and the map file implies they are.
There's also the supporting libraries, libavcodec and libvpx, that'll use AVX if the CPU and OS support it.

Note that our compiler has problems aligning SSE and SSE2 instructions and I assume AVX as well so targeting newer CPU's is likely to result in crashes so we're mostly stuck with assembler use of these instructions.

Dave Yeo:
@André, it may be worth testing with a different theme. Firefox in particular has high CPU load, especially when minimized, with the standard theme. Luckily we have SeaMonkey Modern under View.
There's also a problem with ChatZilla that causes high CPU, it's worth disabling if you don't need it.

Alex Taylor:
I find with both Dave's initial SeaMonkey build (O3, I believe) and the official Firefox, I constantly have to delete the 'startupCache' directory manually from my profile otherwise it will fail to start.

In Firefox I seem to have mostly eliminated it by disabling the NoScript addon.  However, I don't have that enabled in SeaMonkey and I still get fairly frequent problems starting.  I disabled all my addons and am now gradually re-enabling them to see if one of them triggers it.  (Currently rikaichan is a prime suspect.)

Incidentally I tried installing AdBlock in Firefox, but that renders it completely unstartable.

Paul Smedley:
Hey Dave,


--- Quote from: Dave Yeo on June 09, 2018, 07:47:35 pm ---I'm currently using Paul's build of 5.10. Not sure what, but something seems to have broken in my environment with 4.92, the browser built with it seemed fine until going to YouTube, where VP9 videos would just display static with a message that something went wrong.
Newer compilers fail due to changes in how they parse the C++ code, which is a shame as Paul says he fixed the alignment issues at some point.

--- End quote ---

If it's of value, perhaps I should update the 5.x build to 5.5.0 - might fix some compiler bugs? I do already have a 5.3.0 build - http://smedley.id.au/tmp/gcc-5.3.0-os2-20160107.zip

I could also try and backport the alignment fixes?

Cheers,

Paul

Dave Yeo:
Hi Paul, wouldn't hurt to try the 5.5.0 as there may well be compiler bugs, not that I've noticed any but they're probably subtle if existing.
The alignment bugs would really be nice to have fixed. Mozilla is using more and more SSE2 stuff and after 52 dropped support for CPU's without SSE2 (minimum requirement Pentium M). Dmik just disabled SSE and SSE2 to build his P4 Firefox build.
There's also a bug with GCC finding the correct stdc++.lib. I have 510 installed in @UNIXROOT/usr/local510 with a script to load it ahead of 4.9.2 and it'll try to use the stdc++.lib in /usr/lib first. Currently I have to move the one in /usr/lib out of the way to compile C++, C code works fine.
Thanks.
Edit, now testing 5.3.0, will report if anything is different.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version