Closed Bug 1271829 Opened 9 years ago Closed 9 years ago

Compile nss with SSE2 optimizations

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox49 fixed)

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: rillian, Assigned: rillian)

References

Details

Attachments

(2 files, 1 obsolete file)

We've declared we're dropping support for non-SSE x86 cpus as of Firefox 49. Update the build scripts to remove this restriction.
Assignee: nobody → giles
Attachment #8751007 - Flags: review?(mh+mozilla)
Attachment #8751007 - Flags: review?(kaie)
It looks like the clang issue in https://llvm.org/bugs/show_bug.cgi?id=24335 was specific to /arch:IA32, and in any case it was fixed 6 months ago, so it should be safe to remove the conditional.
Comment on attachment 8751007 [details] [diff] [review] Use SSE instructions on win32 nss Review of attachment 8751007 [details] [diff] [review]: ----------------------------------------------------------------- What Firefox does shouldn't affect the defaults for NSS proper. We should pass pass our -arch parameter down from config/external/nss/Makefile.in, through XCFLAGS, until Firefox builds NSS with its build system (bug 1237872)
Attachment #8751007 - Flags: review?(mh+mozilla)
Attachment #8751007 - Flags: review?(kaie)
Attachment #8751007 - Flags: review-
Component: Security: PSM → Build Config
Just an update: I've mostly traced through the XCFLAGS dependencies. It looks like that will override properly if we change the Makefile.in to merge instead of clobbering them. I'll work on a patch tomorrow.
Attachment #8752371 - Flags: review?(mh+mozilla)
More like this?
Attachment #8751007 - Attachment is obsolete: true
Attachment #8752372 - Flags: review?(mh+mozilla)
Attachment #8752371 - Flags: review?(mh+mozilla) → review+
Attachment #8752372 - Flags: review?(mh+mozilla) → review+
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/cbb9d4a22c5c20703b6fedf78c7b27ae7d62d897 - on your push, you got a maxtime failure, https://treeherder.mozilla.org/logviewer.html#?job_id=28046368&repo=mozilla-inbound, and then we started getting a whole lot of failures trying to remove mangle.exe (https://treeherder.mozilla.org/logviewer.html#?job_id=28071738&repo=mozilla-inbound, https://treeherder.mozilla.org/logviewer.html#?job_id=28071928&repo=mozilla-inbound, https://treeherder.mozilla.org/logviewer.html#?job_id=28085959&repo=mozilla-inbound) and pk12util.pdb (https://treeherder.mozilla.org/logviewer.html#?job_id=28072191&repo=mozilla-inbound), and there you were down below all those, having been foolish enough to touch building NSS. Also, you put the wrong bug number in https://hg.mozilla.org/integration/mozilla-inbound/rev/d0ab0d508a248687825497a6a50ec9a685a7a5f9, incrementing this bug's number by one, so you'll want to fix that before relanding, should it turn out that my wild guess is wrong and we just keep failing even with you backed out.
Summary: Compile nss with SSE optimizations → Compile nss with SSE2 optimizations
Trying again with a clobber.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Depends on: 1276069
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: