[Webkit-unassigned] [Bug 150721] B3->Air lowering should have a story for compare-branch fusion
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 1 11:51:36 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=150721
--- Comment #1 from Filip Pizlo <fpizlo at apple.com> ---
One way to do this would be to have a comparison selector that takes as an argument the set of possible comparing Air opcodes. For example it might be something like:
struct Opcodes {
Opcode compare8;
Opcode compare16;
Opcode compare32;
Opcode compare64;
Opcode test8;
Opcode test16;
Opcode test32;
Opcode test64;
Opcode compareDouble8;
Opcode compareDouble16;
Opcode compareDouble32;
Opcode compareDouble64;
};
The comparison selector could then either produce an Inst or an array of Insts that conduct the comparison using whatever compare operations the caller wanted. It can use isValidForm() to decide which Insts are valid, so we can be sure that it only produces valid ones.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151101/9c02a6c3/attachment.html>
More information about the webkit-unassigned
mailing list