summaryrefslogtreecommitdiff
path: root/gcc/config/nvptx/nvptx.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/nvptx/nvptx.h')
-rw-r--r--gcc/config/nvptx/nvptx.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/config/nvptx/nvptx.h b/gcc/config/nvptx/nvptx.h
index 3b06f33032f..ed72c253191 100644
--- a/gcc/config/nvptx/nvptx.h
+++ b/gcc/config/nvptx/nvptx.h
@@ -29,25 +29,6 @@
#define STARTFILE_SPEC "%{mmainkernel:crt0.o}"
-/* Newer versions of CUDA no longer support sm_30, and nvptx-tools as
- currently doesn't handle that gracefully when verifying
- ( https://github.com/MentorEmbedded/nvptx-tools/issues/30 ). Work around
- this by verifying with sm_35 when having misa=sm_30 (either implicitly
- or explicitly). */
-#define ASM_SPEC \
- "%{" \
- /* Explict misa=sm_30. */ \
- "misa=sm_30:-m sm_35" \
- /* Separator. */ \
- "; " \
- /* Catch-all. */ \
- "misa=*:-m %*" \
- /* Separator. */ \
- "; " \
- /* Implicit misa=sm_30. */ \
- ":-m sm_35" \
- "}"
-
#define TARGET_CPU_CPP_BUILTINS() nvptx_cpu_cpp_builtins ()
/* Avoid the default in ../../gcc.cc, which adds "-pthread", which is not