Try to use direct jumps when optimizing smashed conditional jumps on ARM
commit3bbb514e45aca5dd7fb2f588bcd6d67e9d907059
authorGuilherme Ottoni <ottoni@fb.com>
Fri, 3 Aug 2018 22:12:53 +0000 (3 15:12 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 3 Aug 2018 22:28:46 +0000 (3 15:28 -0700)
tree53c82f1fb8c0a30c3758fc9d69ca3e0ce4c0849a
parenta5ddcce65814e7bd7c6590b8b56a4b8507c08540
Try to use direct jumps when optimizing smashed conditional jumps on ARM

Summary:
If we can't use conditional jumps directly for smashable jccs (when offset is
>1MB), try to use a direct unconditional jump (when the offset is < 128MB)
instead of an indirect jump.

Reviewed By: mofarrell

Differential Revision: D9019773

fbshipit-source-id: f25c25e10391cb2ea5fb8c41789244c7ca4a65f6
hphp/runtime/vm/jit/smashable-instr-arm.cpp