From 056b920c01121c095b20fa7ee3886c0bfebd3536 Mon Sep 17 00:00:00 2001 From: "commit-queue@webkit.org" Date: Tue, 15 Oct 2013 18:03:42 +0000 Subject: [sh4] Introduce const pools in LLINT. https://bugs.webkit.org/show_bug.cgi?id=122746 Patch by Julien Brianceau 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 --- Source/JavaScriptCore/offlineasm/instructions.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/JavaScriptCore/offlineasm/instructions.rb') diff --git a/Source/JavaScriptCore/offlineasm/instructions.rb b/Source/JavaScriptCore/offlineasm/instructions.rb index eb394afab..45fdb0ffc 100644 --- a/Source/JavaScriptCore/offlineasm/instructions.rb +++ b/Source/JavaScriptCore/offlineasm/instructions.rb @@ -285,9 +285,7 @@ SH4_INSTRUCTIONS = "loaddReversedAndIncrementAddress", "storedReversedAndDecrementAddress", "ldspr", - "stspr", - "callf", - "jmpf" + "stspr" ] CXX_INSTRUCTIONS = -- cgit v1.2.1