Closed
Bug 1455016
Opened 7 years ago
Closed 7 years ago
[MIPS64] Fix potentially undefined result of rotateLeft64
Categories
(Core :: JavaScript Engine: JIT, enhancement, P5)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla61
| Tracking | Status | |
|---|---|---|
| firefox61 | --- | fixed |
People
(Reporter: dragan.mladjenovic, Assigned: dragan.mladjenovic)
Details
Attachments
(1 file)
|
988 bytes,
patch
|
bbouvier
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•7 years ago
|
||
The rotateLeft64(ma_drol) count register can contain arbitrary 64-bit value, so using negu(subu) instruction on it could result in an undefined value. This patch replaces negu with explicit dsubu to avoid that.
Assignee: nobody → dragan.mladjenovic
Attachment #8968957 -
Flags: review?(bbouvier)
| Assignee | ||
Updated•7 years ago
|
Summary: [MIPS64] Fix potentially undefined behavior of rotateLeft64 → [MIPS64] Fix potentially undefined result of rotateLeft64
Updated•7 years ago
|
Priority: -- → P5
Comment 2•7 years ago
|
||
Comment on attachment 8968957 [details] [diff] [review]
bug1455016.patch
Review of attachment 8968957 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM, thanks!
Attachment #8968957 -
Flags: review?(bbouvier) → review+
| Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by btara@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8bd01029ff4e
[MIPS64] Fix potentially undefined behavior of rotateLeft64; r=bbouvier
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/f93d567284f7
[MIPS64] Fix potentially undefined behavior of rotateLeft64. r=bbouvier
Comment 5•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•