mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7063629: use cbcond in C2 generated code on T4
Use new short branch instruction in C2 generated code. Reviewed-by: never
This commit is contained in:
parent
52f678435a
commit
ac99f413d7
20 changed files with 1298 additions and 500 deletions
|
@ -785,11 +785,17 @@ class Compile : public Phase {
|
|||
// Process an OopMap Element while emitting nodes
|
||||
void Process_OopMap_Node(MachNode *mach, int code_offset);
|
||||
|
||||
// Initialize code buffer
|
||||
CodeBuffer* init_buffer(uint* blk_starts);
|
||||
|
||||
// Write out basic block data to code buffer
|
||||
void Fill_buffer();
|
||||
void fill_buffer(CodeBuffer* cb, uint* blk_starts);
|
||||
|
||||
// Determine which variable sized branches can be shortened
|
||||
void Shorten_branches(Label *labels, int& code_size, int& reloc_size, int& stub_size);
|
||||
void shorten_branches(uint* blk_starts, int& code_size, int& reloc_size, int& stub_size);
|
||||
|
||||
// Inserts nops where needed and final shorten branches.
|
||||
void finalize_offsets_and_shorten(uint* blk_starts);
|
||||
|
||||
// Compute the size of first NumberOfLoopInstrToAlign instructions
|
||||
// at the head of a loop.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue