6940726: Use BIS instruction for allocation prefetch on Sparc

Use BIS instruction for allocation prefetch on Sparc

Reviewed-by: twisti
This commit is contained in:
Vladimir Kozlov 2010-04-07 12:39:27 -07:00
parent 629d139cac
commit f6934fd3b7
6 changed files with 93 additions and 7 deletions

View file

@ -1244,5 +1244,5 @@ 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; }
virtual const Type *bottom_type() const { return ( AllocatePrefetchStyle == 3 ) ? Type::MEMORY : Type::ABIO; }
};