Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-725

Increase command line options for tuning opt compiler behaviour

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: Compiler: Optimizing
    • Labels:
      None

      Description

      Something that has been of interest to at least 2 researchers is adding command line options that allow more configuration of the opt compiler behaviour. Examples of where these options should be improved include:

      • local expression folding option (currently always disabled)
      • the threshold at which we switch from a tableswitch to a lookupswitch (currently 8)

      an extension to this JIRA would be to consider the naming convention for opt compiler options

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            dgrove David Grove added a comment -

            Ian. I'm making a pass through deleting the options that aren't semantically sound.

            Show
            dgrove David Grove added a comment - Ian. I'm making a pass through deleting the options that aren't semantically sound.
            Hide
            ianrogers Ian Rogers added a comment -

            Thanks Dave, if you can let me know when you're done I'll pick up resolving this issue. I guess we can at least comment the options that are unsound from the command line.

            Show
            ianrogers Ian Rogers added a comment - Thanks Dave, if you can let me know when you're done I'll pick up resolving this issue. I guess we can at least comment the options that are unsound from the command line.
            Hide
            dgrove David Grove added a comment -

            Did my pass in r15223.

            There are still probably some unused options, but I think I've at least got rid of all the unsound ones.

            Show
            dgrove David Grove added a comment - Did my pass in r15223. There are still probably some unused options, but I think I've at least got rid of all the unsound ones.
            Hide
            ianrogers Ian Rogers added a comment -

            r15226 makes naming more regular, adds options for local expression folding and the max size of tableswitch where we don't generate an if-then-else.

            r15227 introduces new options to control bonuses given to reduce the method size when particular arguments are passed to a method being considered for inlining.

            Show
            ianrogers Ian Rogers added a comment - r15226 makes naming more regular, adds options for local expression folding and the max size of tableswitch where we don't generate an if-then-else. r15227 introduces new options to control bonuses given to reduce the method size when particular arguments are passed to a method being considered for inlining.
            Hide
            dgrove David Grove added a comment -

            Ian did some work on this a while ago. More could be done of course, but my inclination is to close it now and let people open request for specific features that they think should be command line tunable.

            Show
            dgrove David Grove added a comment - Ian did some work on this a while ago. More could be done of course, but my inclination is to close it now and let people open request for specific features that they think should be command line tunable.

              People

              • Assignee:
                ianrogers Ian Rogers
                Reporter:
                ianrogers Ian Rogers
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: