mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
7077312: Provide a CALL effect for instruct declaration in the ad file
Abstracted way to declare that the MachNode has the effect of a call (kills caller save registers, preserves callee save registers) Reviewed-by: twisti, never
This commit is contained in:
parent
89d4179a4b
commit
9d8e44db59
11 changed files with 93 additions and 36 deletions
|
@ -111,6 +111,8 @@ public:
|
|||
ComponentList _components; // List of Components matches MachNode's
|
||||
// operand structure
|
||||
|
||||
bool _has_call; // contain a call and caller save registers should be saved?
|
||||
|
||||
// Public Methods
|
||||
InstructForm(const char *id, bool ideal_only = false);
|
||||
InstructForm(const char *id, InstructForm *instr, MatchRule *rule);
|
||||
|
@ -895,7 +897,8 @@ public:
|
|||
DEF = 0x2, USE_DEF = 0x3,
|
||||
KILL = 0x4, USE_KILL = 0x5,
|
||||
SYNTHETIC = 0x8,
|
||||
TEMP = USE | SYNTHETIC
|
||||
TEMP = USE | SYNTHETIC,
|
||||
CALL = 0x10
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue