Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Firefox without SSE2

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

Firefox without SSE2

  • Quote

Post by eccerr0r » Thu Feb 11, 2021 6:10 am

Have anyone tried building firefox without SSE2 instructions?

My current build I have CFLAGS without specifying architecture (I thought this means default/i686) and it's illegal instructioning just firefox...

Wondering if someone has already looked into it or not. So far I'm not having much luck building such. In theory it's possible unless there was some hand assembled SSE2 code in the build which I'd have the foggiest idea how to search for it...
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
The_Pope
Tux's lil' helper
Tux's lil' helper
Posts: 111
Joined: Sun Jul 03, 2016 9:45 pm

  • Quote

Post by The_Pope » Thu Feb 11, 2021 12:38 pm

Yes, someone has. But for Windows.

https://github.com/roytam1/mozilla45esr

https://github.com/roytam1/palemoon27

And I think there was another tree, too. EDIT: I think it was this one: https://github.com/roytam1/UXP
Stop the world. I want to descend.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Thu Feb 11, 2021 3:15 pm

Err... what about for Gentoo?
This doesn't make sense that even with the architecture set for i686 it inserts SSE2 instructions, where is it inserting them...
If only it was a pure C/C++ project..
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
mike155
Advocate
Advocate
Posts: 4438
Joined: Fri Sep 17, 2010 11:33 pm
Location: Frankfurt, Germany

  • Quote

Post by mike155 » Thu Feb 11, 2021 3:36 pm

See: https://stackoverflow.com/questions/507 ... lar-c-code
SSE2 is baseline / non-optional for x86-64, so compilers can always use SSE1/SSE2 instructions when targeting x86-64.
EDIT: I just realized that you are talking about x86. Sorry! But still: why do you want to avoid SSE2? It's been around since Pentium 4, released in 2000 - so every modern processor should support it, no?
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Thu Feb 11, 2021 4:31 pm

mike155 wrote:EDIT: I just realized that you are talking about x86. Sorry! But still: why do you want to avoid SSE2? It's been around since Pentium 4, released in 2000 - so every modern processor should support it, no?
There are several that don't. i686 is not synonymous with SSE, though the term has become abused as such recently.
Top
eccerr0r
Watchman
Watchman
Posts: 10239
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Thu Feb 11, 2021 4:33 pm

Oh yeah, I should have mentioned clearly that target=x86 32-bit.

And machines without SSE2 don't magically turn into something with SSE2, or even a P4 even :-(

Reference links
viewtopic-t-1087434-start-0.html

32 bit Processors without SSE2:
80386 all
80486 all
Pentium
Pentium Pro
Pentium II
Pentium III
Athlon using socket 462 and Slot A including Athlon XP, Athlon MP, Duron

32 bit Processors with SSE2:
Pentium M
Pentium 4 (32-bit)
Atom (e.g., N270)
Athlon using socket 754 and higher

Just bothers me if we can compile code and it still is forced to emit SSE2 instructions. Don't mind if I have to use another machine to cross compile...
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic