summaryrefslogtreecommitdiff
path: root/riscv/trunk/compiler/riscv64/nrv64ld.pas
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/trunk/compiler/riscv64/nrv64ld.pas')
-rw-r--r--riscv/trunk/compiler/riscv64/nrv64ld.pas57
1 files changed, 57 insertions, 0 deletions
diff --git a/riscv/trunk/compiler/riscv64/nrv64ld.pas b/riscv/trunk/compiler/riscv64/nrv64ld.pas
new file mode 100644
index 0000000000..c2a6963a5b
--- /dev/null
+++ b/riscv/trunk/compiler/riscv64/nrv64ld.pas
@@ -0,0 +1,57 @@
+{
+ Copyright (c) 1998-2002 by Florian Klaempfl
+
+ Generate riscv64 assembler for nodes that handle loads and assignments
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ ****************************************************************************
+}
+unit nrv64ld;
+
+{$I fpcdefs.inc}
+
+interface
+
+uses
+ node, ncgld;
+
+type
+ trv64loadnode = class(tcgloadnode)
+ procedure pass_generate_code override;
+ end;
+
+implementation
+
+uses
+ verbose,
+ systems,
+ cpubase,
+ cgutils, cgobj,
+ aasmbase, aasmtai,aasmdata,
+ symconst, symsym,
+ procinfo,
+ nld;
+
+procedure trv64loadnode.pass_generate_code;
+begin
+ inherited pass_generate_code;
+end;
+
+
+begin
+ cloadnode := trv64loadnode;
+end.
+