Closed Bug 1975419 Opened 1 month ago Closed 1 month ago

Use compiler intrinsic when available for saturated arithmetic

Categories

(Core :: MFBT, task)

task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: sergesanspaille, Assigned: sergesanspaille)

Details

Attachments

(1 file)

No description provided.
Assignee: nobody → sguelton
Status: NEW → ASSIGNED
Pushed by nfay@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d14ac4bc8a1f https://hg.mozilla.org/integration/autoland/rev/7e250ada8ca2 Revert "Bug 1975419 - Use compiler intrinsic for saturated arithmetic r=emilio" for causing SM bustages on Saturate.h

Backed out for causing SM bustages on Saturate.h

Backout link

Push with failures

Failure log

Flags: needinfo?(sguelton)
Pushed by ctuns@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d2807d8fed64 https://hg.mozilla.org/integration/autoland/rev/7899cad53cdc Revert "Bug 1975419 - Use compiler intrinsic for saturated arithmetic r=emilio" for causing SM bustages in Saturate.h

Backed out for causing SM bustages

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: /builds/worker/workspace/sm-package/mozjs-142.0a1.0/obj-spider/dist/include/mozilla/Saturate.h:58:44: error: missing binary operator before token "("
Attachment #9498345 - Attachment description: Bug 1975419 - Use compiler intrinsic for saturated arithmetic r=emilio → Bug 1975419 - Use compiler intrinsic for saturated arithmetic r=emilio!
Flags: needinfo?(sguelton)
Pushed by ctuns@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a6d2791eff18 https://hg.mozilla.org/integration/autoland/rev/d10d30c72215 Revert "Bug 1975419 - Use compiler intrinsic for saturated arithmetic r=emilio" for causing cppunittest failures

Backed out for causing cppunittest failures

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: Assertion failure: ++satValue == (std::numeric_limits<T>::max()) (Test '++satValue == (std::numeric_limits<T>::max())' failed.), at /builds/worker/checkouts/gecko/mfbt/tests/TestSaturate.cpp:133
Flags: needinfo?(sguelton)
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Flags: needinfo?(sguelton)
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: