mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
7079329: Adjust allocation prefetching for T4
On T4 2 BIS instructions should be issued to prefetch 64 bytes Reviewed-by: iveresov, phh, twisti
This commit is contained in:
parent
080f790edc
commit
90651b2666
18 changed files with 299 additions and 129 deletions
|
@ -1278,6 +1278,16 @@ public:
|
|||
virtual int Opcode() const;
|
||||
virtual uint ideal_reg() const { return NotAMachineReg; }
|
||||
virtual uint match_edge(uint idx) const { return idx==2; }
|
||||
virtual const Type *bottom_type() const { return Type::ABIO; }
|
||||
};
|
||||
|
||||
// Allocation prefetch which may fault, TLAB size have to be adjusted.
|
||||
class PrefetchAllocationNode : public Node {
|
||||
public:
|
||||
PrefetchAllocationNode(Node *mem, Node *adr) : Node(0,mem,adr) {}
|
||||
virtual int Opcode() const;
|
||||
virtual uint ideal_reg() const { return NotAMachineReg; }
|
||||
virtual uint match_edge(uint idx) const { return idx==2; }
|
||||
virtual const Type *bottom_type() const { return ( AllocatePrefetchStyle == 3 ) ? Type::MEMORY : Type::ABIO; }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue