This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about CASE_DROPS_THROUGH


On Sun, Jun 20, 2004 at 10:32:29PM -0700, Zack Weinberg wrote:
> Good point.  The NOTE is definitely what I would try first.

The jump should reference the table directly (as well).  Quite
a few targets use pc-relative loads from the jump table, and
so there *is* no load separate from the jump insn.

Anyway, the simplest way out for VAX, should anyone care about
it ever again, is simply to emit a jump directly after the 
case instruction.  Which lets us kill CASE_DROPS_THROUGH, since
the logical unit of the two now doesn't drop through.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]