aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgcc
diff options
Diffstat (limited to 'cgcc')
-rwxr-xr-xcgcc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgcc b/cgcc
index ef0375c5..87f4fc3e 100755
--- a/cgcc
+++ b/cgcc
@@ -292,6 +292,9 @@ sub add_specs {
return (' -D_BIG_ENDIAN' .
' --arch=s390x' .
&float_types (1, 1, 36, [24,8], [53,11], [113,15]));
+ } elsif ($spec eq 'riscv64') {
+ return (' --arch=riscv64' .
+ &float_types (1, 1, 33, [24,8], [53,11], [113,15]));
} elsif ($spec eq 'arm') {
return (' --arch=arm' .
&float_types (1, 1, 36, [24,8], [53,11], [53, 11]));