Mercurial > hg > truffle
comparison src/cpu/x86/vm/x86_64.ad @ 14439:50fdb38839eb
8028515: PPPC64 (part 113.2): opto: Introduce LoadFence/StoreFence.
Summary: Use new nodes for loadFence/storeFence intrinsics in C2.
Reviewed-by: kvn, dholmes
author | goetz |
---|---|
date | Tue, 26 Nov 2013 18:38:19 -0800 |
parents | 044b28168e20 |
children | 45467c53f178 |
comparison
equal
deleted
inserted
replaced
14438:4cdf4f71177d | 14439:50fdb38839eb |
---|---|
6343 // Memory barrier flavors | 6343 // Memory barrier flavors |
6344 | 6344 |
6345 instruct membar_acquire() | 6345 instruct membar_acquire() |
6346 %{ | 6346 %{ |
6347 match(MemBarAcquire); | 6347 match(MemBarAcquire); |
6348 match(LoadFence); | |
6348 ins_cost(0); | 6349 ins_cost(0); |
6349 | 6350 |
6350 size(0); | 6351 size(0); |
6351 format %{ "MEMBAR-acquire ! (empty encoding)" %} | 6352 format %{ "MEMBAR-acquire ! (empty encoding)" %} |
6352 ins_encode(); | 6353 ins_encode(); |
6365 %} | 6366 %} |
6366 | 6367 |
6367 instruct membar_release() | 6368 instruct membar_release() |
6368 %{ | 6369 %{ |
6369 match(MemBarRelease); | 6370 match(MemBarRelease); |
6371 match(StoreFence); | |
6370 ins_cost(0); | 6372 ins_cost(0); |
6371 | 6373 |
6372 size(0); | 6374 size(0); |
6373 format %{ "MEMBAR-release ! (empty encoding)" %} | 6375 format %{ "MEMBAR-release ! (empty encoding)" %} |
6374 ins_encode(); | 6376 ins_encode(); |