[PATCH 2/2] jit: add switch statements
Basile Starynkevitch
basile@starynkevitch.net
Thu Jan 1 00:00:00 GMT 2015
On Thu, Jun 25, 2015 at 03:13:41PM -0400, David Malcolm wrote:
> Some interpreters/VMs support a switch statement (for example the JVM
> has opcodes "lookupswitch" and "tableswitch"). GCC has a set of
> optimizations for efficiently handling switch statements, so it makes
> sense to directly expose switch statements in the libgccjit API.
>
> This patch implements a switch statement, but it isn't quite ready for
> committing to trunk yet:
>
Is that patch available (thru git or svn) on some branch?
I did not found any *jit* branch on svn://gcc.gnu.org/svn/gcc/branches
Do you believe it will get into GCC 6 (probably yes)?
Do you believe it would get into GCC 5.2 (unfortunately, perhaps no)?
Do you think it could easily be backported into GCC 5.x ?
Cheers!
--
Basile Starynkevitch http://starynkevitch.net/Basile
France
More information about the Jit
mailing list