summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx.y
diff options
context:
space:
mode:
authorsspenst <[email protected]>2016-06-07 16:22:45 -0700
committersspenst <[email protected]>2016-06-07 16:22:45 -0700
commit587853a81f6fa6088b7f3d93fc8862a8b2610da7 (patch)
treea29948b33b8e44543747744430ae0e0e57cd5b59 /src/cuda-sim/ptx.y
parent7aeadc95cc50d266f93cdb3ada1c192d9b5a1046 (diff)
The ptx parser now recognizes the NC option for ld.global, however this option is not actually implemented
Diffstat (limited to 'src/cuda-sim/ptx.y')
-rw-r--r--src/cuda-sim/ptx.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx.y b/src/cuda-sim/ptx.y
index fca94db..4de39d1 100644
--- a/src/cuda-sim/ptx.y
+++ b/src/cuda-sim/ptx.y
@@ -193,6 +193,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
%token CV_OPTION;
%token WB_OPTION;
%token WT_OPTION;
+%token NC_OPTION;
%type <int_value> function_decl_header
%type <ptr_value> function_decl
@@ -449,6 +450,7 @@ option: type_spec
| CV_OPTION { add_option(CV_OPTION); }
| WB_OPTION { add_option(WB_OPTION); }
| WT_OPTION { add_option(WT_OPTION); }
+ | NC_OPTION { add_option(NC_OPTION); }
;
atomic_operation_spec: ATOMIC_AND { add_option(ATOMIC_AND); }