diff options
author | commit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | 2013-10-15 18:03:42 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-18 11:36:22 +0200 |
commit | 056b920c01121c095b20fa7ee3886c0bfebd3536 (patch) | |
tree | cf90c56f43e8ade7695c40c91a0c4fbbeceb5a86 /Source/JavaScriptCore/bytecode/EvalCodeCache.h | |
parent | dd6c186c0335402315d2a88eed661e1b9958ed44 (diff) | |
download | qtwebkit-056b920c01121c095b20fa7ee3886c0bfebd3536.tar.gz |
[sh4] Introduce const pools in LLINT.
https://bugs.webkit.org/show_bug.cgi?id=122746
Patch by Julien Brianceau <jbriance@cisco.com> on 2013-10-15
Reviewed by Michael Saboff.
In current implementation of LLINT for sh4, immediate values outside range -128..127 are
loaded this way:
mov.l .label, rx
bra out
nop
.balign 4
.label: .long immvalue
out:
This change introduces const pools for sh4 implementation to avoid lots of useless branches
and reduce code size. It also removes lines of dirty code, like jmpf and callf.
* offlineasm/instructions.rb: Remove jmpf and callf sh4 specific instructions.
* offlineasm/sh4.rb:
Change-Id: Ieeceaaa5eb55ab9439d923afccceb783e9930ee4
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/bytecode/EvalCodeCache.h')
0 files changed, 0 insertions, 0 deletions