Closed Bug 1299014 Opened 9 years ago Closed 9 years ago

Move clampIntToUint8 to the generic macro assembler

Categories

(Core :: JavaScript Engine: JIT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: hev, Assigned: hev)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

Move clampIntToUint8 to the generic macro assembler and mark as per shared architectures.
Attachment #8786175 - Flags: review?(arai.unmht)
Comment on attachment 8786175 [details] [diff] [review] 0001-Bug-1299014-Move-clampIntToUint8-to-the-generic-macr.patch Review of attachment 8786175 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jit/MacroAssembler.h @@ +1602,4 @@ > return reg.typedReg().gpr(); > } > > + void clampIntToUint8(Register reg) PER_SHARED_ARCH; Can we make this inline, and move all definition to -inl.h (and keep it inline on x86-shared) ? Also, it would be nice to move this and each definition into check_macroassembler_style block to check each definition. ::: js/src/jit/x86-shared/MacroAssembler-x86-shared-inl.h @@ -1243,5 @@ > //}}} check_macroassembler_style > // =============================================================== > > -void > -MacroAssemblerX86Shared::clampIntToUint8(Register reg) declaration in MacroAssembler-x86-shared.h should also be removed.
Attachment #8786175 - Flags: review?(arai.unmht) → feedback+
Attachment #8786175 - Attachment is obsolete: true
Attachment #8787059 - Flags: review?(arai.unmht)
Comment on attachment 8787059 [details] [diff] [review] 0001-Bug-1299014-Move-clampIntToUint8-to-the-generic-macr.patch Review of attachment 8787059 [details] [diff] [review]: ----------------------------------------------------------------- Thank you :D
Attachment #8787059 - Flags: review?(arai.unmht) → review+
Pushed by r@hev.cc: https://hg.mozilla.org/integration/mozilla-inbound/rev/b1eefd941246 Move clampIntToUint8 to the generic macro assembler. r=arai
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: