comparison src/share/vm/opto/memnode.hpp @ 1367:9e321dcfa5b7

6940726: Use BIS instruction for allocation prefetch on Sparc Summary: Use BIS instruction for allocation prefetch on Sparc Reviewed-by: twisti
author kvn
date Wed, 07 Apr 2010 12:39:27 -0700
parents 8d9bfe6a446b
children c18cbe5936b8
comparison
equal deleted inserted replaced
1366:b9d85fcdf743 1367:9e321dcfa5b7
1242 public: 1242 public:
1243 PrefetchWriteNode(Node *abio, Node *adr) : Node(0,abio,adr) {} 1243 PrefetchWriteNode(Node *abio, Node *adr) : Node(0,abio,adr) {}
1244 virtual int Opcode() const; 1244 virtual int Opcode() const;
1245 virtual uint ideal_reg() const { return NotAMachineReg; } 1245 virtual uint ideal_reg() const { return NotAMachineReg; }
1246 virtual uint match_edge(uint idx) const { return idx==2; } 1246 virtual uint match_edge(uint idx) const { return idx==2; }
1247 virtual const Type *bottom_type() const { return Type::ABIO; } 1247 virtual const Type *bottom_type() const { return ( AllocatePrefetchStyle == 3 ) ? Type::MEMORY : Type::ABIO; }
1248 }; 1248 };