src/hotspot/cpu/x86/x86_64.ad
changeset 57804 9b7b9f16dfd9
parent 55626 91faea277c86
child 58015 dd84de796f2c
equal deleted inserted replaced
57803:23e3ab980622 57804:9b7b9f16dfd9
  6563     __ movdbl(Address(rsp, $dst$$disp), $src$$XMMRegister);
  6563     __ movdbl(Address(rsp, $dst$$disp), $src$$XMMRegister);
  6564   %}
  6564   %}
  6565   ins_pipe(pipe_slow); // XXX
  6565   ins_pipe(pipe_slow); // XXX
  6566 %}
  6566 %}
  6567 
  6567 
       
  6568 instruct cacheWB(indirect addr)
       
  6569 %{
       
  6570   predicate(VM_Version::supports_data_cache_line_flush());
       
  6571   match(CacheWB addr);
       
  6572 
       
  6573   ins_cost(100);
       
  6574   format %{"cache wb $addr" %}
       
  6575   ins_encode %{
       
  6576     assert($addr->index_position() < 0, "should be");
       
  6577     assert($addr$$disp == 0, "should be");
       
  6578     __ cache_wb(Address($addr$$base$$Register, 0));
       
  6579   %}
       
  6580   ins_pipe(pipe_slow); // XXX
       
  6581 %}
       
  6582 
       
  6583 instruct cacheWBPreSync()
       
  6584 %{
       
  6585   predicate(VM_Version::supports_data_cache_line_flush());
       
  6586   match(CacheWBPreSync);
       
  6587 
       
  6588   ins_cost(100);
       
  6589   format %{"cache wb presync" %}
       
  6590   ins_encode %{
       
  6591     __ cache_wbsync(true);
       
  6592   %}
       
  6593   ins_pipe(pipe_slow); // XXX
       
  6594 %}
       
  6595 
       
  6596 instruct cacheWBPostSync()
       
  6597 %{
       
  6598   predicate(VM_Version::supports_data_cache_line_flush());
       
  6599   match(CacheWBPostSync);
       
  6600 
       
  6601   ins_cost(100);
       
  6602   format %{"cache wb postsync" %}
       
  6603   ins_encode %{
       
  6604     __ cache_wbsync(false);
       
  6605   %}
       
  6606   ins_pipe(pipe_slow); // XXX
       
  6607 %}
       
  6608 
  6568 //----------BSWAP Instructions-------------------------------------------------
  6609 //----------BSWAP Instructions-------------------------------------------------
  6569 instruct bytes_reverse_int(rRegI dst) %{
  6610 instruct bytes_reverse_int(rRegI dst) %{
  6570   match(Set dst (ReverseBytesI dst));
  6611   match(Set dst (ReverseBytesI dst));
  6571 
  6612 
  6572   format %{ "bswapl  $dst" %}
  6613   format %{ "bswapl  $dst" %}