summaryrefslogtreecommitdiff
path: root/riscv_new/compiler/globals.pas
diff options
context:
space:
mode:
Diffstat (limited to 'riscv_new/compiler/globals.pas')
-rw-r--r--riscv_new/compiler/globals.pas16
1 files changed, 14 insertions, 2 deletions
diff --git a/riscv_new/compiler/globals.pas b/riscv_new/compiler/globals.pas
index 121845ae28..d5dddbbc4d 100644
--- a/riscv_new/compiler/globals.pas
+++ b/riscv_new/compiler/globals.pas
@@ -54,8 +54,8 @@ interface
[m_delphi,m_class,m_objpas,m_result,m_string_pchar,
m_pointer_2_procedure,m_autoderef,m_tp_procvar,m_initfinal,m_default_ansistring,
m_out,m_default_para,m_duplicate_names,m_hintdirective,
- m_property,m_default_inline,m_except,m_advanced_records,
- m_array_operators];
+ m_property,m_default_inline,m_except,m_advanced_records,
+ m_array_operators];
delphiunicodemodeswitches = delphimodeswitches + [m_systemcodepage,m_default_unicodestring];
fpcmodeswitches =
[m_fpc,m_string_pchar,m_nested_comment,m_repeat_forward,
@@ -529,6 +529,18 @@ interface
asmcputype : cpu_none;
fputype : fpu_x87;
{$endif i8086}
+ {$ifdef riscv32}
+ cputype : cpu_rv32imafd;
+ optimizecputype : cpu_rv32imafd;
+ asmcputype : cpu_none;
+ fputype : fpu_fd;
+ {$endif riscv32}
+ {$ifdef riscv64}
+ cputype : cpu_rv64imafd;
+ optimizecputype : cpu_rv64imafd;
+ asmcputype : cpu_none;
+ fputype : fpu_fd;
+ {$endif riscv64}
{$endif not GENERIC_CPU}
asmmode : asmmode_standard;
{$ifndef jvm}