1; Options for the Blackfin port of the compiler 2; 3; Copyright (C) 2005-2022 Free Software Foundation, Inc. 4; 5; This file is part of GCC. 6; 7; GCC is free software; you can redistribute it and/or modify it under 8; the terms of the GNU General Public License as published by the Free 9; Software Foundation; either version 3, or (at your option) any later 10; version. 11; 12; GCC is distributed in the hope that it will be useful, but WITHOUT 13; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 14; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 15; License for more details. 16; 17; You should have received a copy of the GNU General Public License 18; along with GCC; see the file COPYING3. If not see 19; <http://www.gnu.org/licenses/>. 20 21HeaderInclude 22config/bfin/bfin-opts.h 23 24; Value of -mcpu=. 25Variable 26bfin_cpu_t bfin_cpu_type = BFIN_CPU_UNKNOWN 27 28; -msi-revision support. There are three special values: 29; -1 -msi-revision=none. 30; 0xffff -msi-revision=any. 31Variable 32int bfin_si_revision 33 34; The workarounds enabled. 35Variable 36unsigned int bfin_workarounds = 0 37 38msim 39Target RejectNegative 40Use simulator runtime. 41 42mcpu= 43Target RejectNegative Joined 44Specify the name of the target CPU. 45 46momit-leaf-frame-pointer 47Target Mask(OMIT_LEAF_FRAME_POINTER) 48Omit frame pointer for leaf functions. 49 50mlow64k 51Target Mask(LOW_64K) 52Program is entirely located in low 64k of memory. 53 54mcsync-anomaly 55Target Var(bfin_csync_anomaly) Init(-1) 56Work around a hardware anomaly by adding a number of NOPs before a 57CSYNC or SSYNC instruction. 58 59mspecld-anomaly 60Target Var(bfin_specld_anomaly) Init(-1) 61Avoid speculative loads to work around a hardware anomaly. 62 63mid-shared-library 64Target Mask(ID_SHARED_LIBRARY) 65Enabled ID based shared library. 66 67mleaf-id-shared-library 68Target Mask(LEAF_ID_SHARED_LIBRARY) 69Generate code that won't be linked against any other ID shared libraries, 70but may be used as a shared library. 71 72mshared-library-id= 73Target RejectNegative Joined UInteger Var(bfin_library_id) 74ID of shared library to build. 75 76msep-data 77Target Mask(SEP_DATA) 78Enable separate data segment. 79 80mlong-calls 81Target Mask(LONG_CALLS) 82Avoid generating pc-relative calls; use indirection. 83 84mfast-fp 85Target Mask(FAST_FP) 86Link with the fast floating-point library. 87 88mfdpic 89Target Mask(FDPIC) 90Enable Function Descriptor PIC mode. 91 92minline-plt 93Target Mask(INLINE_PLT) 94Enable inlining of PLT in function calls. 95 96mstack-check-l1 97Target Mask(STACK_CHECK_L1) 98Do stack checking using bounds in L1 scratch memory. 99 100mmulticore 101Target Mask(MULTICORE) 102Enable multicore support. 103 104mcorea 105Target Mask(COREA) 106Build for Core A. 107 108mcoreb 109Target Mask(COREB) 110Build for Core B. 111 112msdram 113Target Mask(SDRAM) 114Build for SDRAM. 115 116micplb 117Target Mask(ICPLB) 118Assume ICPLBs are enabled at runtime. 119