summaryrefslogtreecommitdiff
path: root/gcc/config/picochip/picochip.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/picochip/picochip.h')
-rw-r--r--gcc/config/picochip/picochip.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/gcc/config/picochip/picochip.h b/gcc/config/picochip/picochip.h
index 16bb6c0dfa8..72b836528f6 100644
--- a/gcc/config/picochip/picochip.h
+++ b/gcc/config/picochip/picochip.h
@@ -60,19 +60,19 @@ extern enum picochip_dfa_type picochip_schedule_type;
/* Translate requests for particular AEs into their respective ISA
options. Note that byte access is enabled by default. */
-#define TARGET_OPTION_TRANSLATE_TABLE \
- { "-mae=ANY", "-mmul-type=none -mno-byte-access" }, \
- { "-mae=ANY2", "-mmul-type=none -mno-byte-access" }, \
- { "-mae=ANY3", "-mmul-type=none" }, \
- { "-mae=STAN", "-mmul-type=none -mno-byte-access" }, \
- { "-mae=STAN2", "-mmul-type=mac -mno-byte-access" }, \
- { "-mae=STAN3", "-mmul-type=mac " }, \
- { "-mae=MAC", "-mmul-type=mac -mno-byte-access" }, \
- { "-mae=MUL", "-mmul-type=mul" }, \
- { "-mae=MEM", "-mmul-type=mul" }, \
- { "-mae=MEM2", "-mmul-type=mul" }, \
- { "-mae=CTRL", "-mmul-type=mul" }, \
- { "-mae=CTRL2", "-mmul-type=mul" }
+#define DRIVER_SELF_SPECS \
+ "%{mae=ANY:-mmul-type=none -mno-byte-access} %<mae=ANY", \
+ "%{mae=ANY2:-mmul-type=none -mno-byte-access} %<mae=ANY2", \
+ "%{mae=ANY3:-mmul-type=none} %<mae=ANY3", \
+ "%{mae=STAN:-mmul-type=none -mno-byte-access} %<mae=STAN", \
+ "%{mae=STAN2:-mmul-type=mac -mno-byte-access} %<mae=STAN2", \
+ "%{mae=STAN3:-mmul-type=mac} %<mae=STAN3", \
+ "%{mae=MAC:-mmul-type=mac -mno-byte-access} %<mae=MAC", \
+ "%{mae=MUL:-mmul-type=mul} %<mae=MUL", \
+ "%{mae=MEM:-mmul-type=mul} %<mae=MEM", \
+ "%{mae=MEM2:-mmul-type=mul} %<mae=MEM2", \
+ "%{mae=CTRL:-mmul-type=mul} %<mae=CTRL", \
+ "%{mae=CTRL2:-mmul-type=mul} %<mae=CTRL2"
/* Specify the default options, so that the multilib build doesn't
need to provide special cases for the defaults. */