@@ -1730,9 +1730,6 @@ Enum(offload_abi) String(ilp32) Value(OFFLOAD_ABI_ILP32)
EnumValue
Enum(offload_abi) String(lp64) Value(OFFLOAD_ABI_LP64)
-EnumValue
-Enum(offload_abi) String(ppc64) Value(OFFLOAD_ABI_PPC64)
-
fomit-frame-pointer
Common Report Var(flag_omit_frame_pointer) Optimization
When possible do not generate stack frames
@@ -367,8 +367,6 @@ compile_native (const char *infile, const char *outfile, const char *compiler)
case OFFLOAD_ABI_ILP32:
obstack_ptr_grow (&argv_obstack, "-m32");
break;
- case OFFLOAD_ABI_PPC64:
- break;
default:
gcc_unreachable ();
}
@@ -460,8 +458,6 @@ main (int argc, char **argv)
offload_abi = OFFLOAD_ABI_LP64;
else if (strcmp (argv[i] + strlen (STR), "ilp32") == 0)
offload_abi = OFFLOAD_ABI_ILP32;
- else if (strcmp (argv[i] + strlen (STR), "ppc64") == 0)
- offload_abi = OFFLOAD_ABI_PPC64;
else
fatal_error (input_location,
"unrecognizable argument of option " STR);
@@ -489,8 +485,6 @@ main (int argc, char **argv)
case OFFLOAD_ABI_ILP32:
obstack_ptr_grow (&argv_obstack, "-m32");
break;
- case OFFLOAD_ABI_PPC64:
- break;
default:
gcc_unreachable ();
}
@@ -524,8 +518,7 @@ main (int argc, char **argv)
/* PR libgomp/65099: Currently, we only support offloading in 64-bit
configurations, and only for OpenACC offloading. */
- if ((offload_abi == OFFLOAD_ABI_LP64
- || (offload_abi == OFFLOAD_ABI_PPC64)) && fopenacc)
+ if (offload_abi == OFFLOAD_ABI_LP64 && fopenacc)
{
ptx_name = make_temp_file (".mkoffload");
obstack_ptr_grow (&argv_obstack, "-o");
@@ -1688,9 +1688,6 @@ static const struct attribute_spec rs6000_attribute_table[] =
#define TARGET_LIBGCC_SHIFT_COUNT_MODE rs6000_abi_word_mode
#undef TARGET_UNWIND_WORD_MODE
#define TARGET_UNWIND_WORD_MODE rs6000_abi_word_mode
-
-#undef TARGET_OFFLOAD_OPTIONS
-#define TARGET_OFFLOAD_OPTIONS rs6000_offload_options
/* Processor table. */
@@ -9535,13 +9532,6 @@ rs6000_abi_word_mode (void)
return TARGET_32BIT ? SImode : DImode;
}
-/* Implement the TARGET_OFFLOAD_OPTIONS hook. */
-static char *
-rs6000_offload_options (void)
-{
- return xstrdup ("-foffload-abi=ppc64");
-}
-
/* On rs6000, function arguments are promoted, as are function return
values. */
@@ -170,8 +170,7 @@ enum tls_model {
enum offload_abi {
OFFLOAD_ABI_UNSET,
OFFLOAD_ABI_LP64,
- OFFLOAD_ABI_ILP32,
- OFFLOAD_ABI_PPC64
+ OFFLOAD_ABI_ILP32
};
/* Types of unwind/exception handling info that can be generated. */