Skip to content

Commit

Permalink
changed default arch but work...?
Browse files Browse the repository at this point in the history
  • Loading branch information
chiro2001 committed Mar 18, 2022
1 parent eecb28d commit 9bea0d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gcc/config/loongarch/loongarch-opts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ loongarch_config_target (struct loongarch_target *target,
config_target_isa:

/* Get default ISA from "-march" or its default value. */
// t.isa = loongarch_cpu_default_isa[__ACTUAL_ARCH];
t.isa = loongarch_cpu_default_isa[__ACTUAL_ARCH];
// Chiro: FATAL: change here to set la32 default
t.isa = loongarch_cpu_default_isa[CPU_LOONGARCH32];
// t.isa = loongarch_cpu_default_isa[CPU_LOONGARCH32];

/* Apply incremental changes. */
/* "-march=native" overrides the default FPU type. */
Expand Down

0 comments on commit 9bea0d7

Please sign in to comment.