[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jitter generates GCC-only code in pvm-vm2.c
From: |
Luca Saiu |
Subject: |
Re: jitter generates GCC-only code in pvm-vm2.c |
Date: |
Tue, 23 Feb 2021 21:16:53 +0100 |
User-agent: |
Gnus (Gnus v5.13), GNU Emacs 27.0.50, x86_64-pc-linux-gnu |
On 2021-02-23 at 20:58 +0100, Luca Saiu wrote:
> The compiler on which this fails must be one of the rare ones where the
> best dispatch is in fact switch. Right now the only one like that I can
> test is TCC, and even that only because (bizarrely) for TCC the
> *difference* of the address of two labels is not a constant expression;
Thinking again, the problem here seems to be exactly the same.
Let me play it safe for the release and add an explicit feature check,
disabling direct-threading if the difference between two label address
is not a constant expression.
Committed.
--
Luca Saiu
* My personal web site: http://ageinghacker.net
* Jitter: http://ageinghacker.net/projects/jitter
* GNU epsilon: http://www.gnu.org/software/epsilon
I support everyone's freedom of mocking any opinion or belief, no
matter how deeply held, with open disrespect and the same unrelented
enthusiasm of a toddler who has just learned the word "poo".
signature.asc
Description: PGP signature