Bug 36447 - Unoptimal wide conditional branch bytecode sequence
Summary: Unoptimal wide conditional branch bytecode sequence
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M1   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-14 08:53 EDT by Philipe Mulet CLA
Modified: 2003-06-06 05:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2003-04-14 08:53:35 EDT
Build R2.1

A wide conditional branching sequence could be shortened by one instruction
if reverting the opcode of the conditional branch, e.g.

      ifeq <wideTarget>

is currently emulated into:

      ifeq <l1>
      goto <l2>
l1:   goto_w <wideTarget>
l2:   ...

and could actually be shortened into:

      ifne <l1>
      goto_w <wideTarget>
l1:   ...
Comment 1 Philipe Mulet CLA 2003-04-14 08:55:39 EDT
Changed codestream to optimize all wide condition branches.
Fixed
Comment 2 David Audel CLA 2003-06-06 05:52:27 EDT
Verified.