hlcgcpu.pas 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. Copyright (c) 1998-2010 by Florian Klaempfl and Jonas Maebe
  3. Member of the Free Pascal development team
  4. This unit contains high-level code generator support for Risc-V32
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. unit hlcgcpu;
  19. {$i fpcdefs.inc}
  20. interface
  21. uses
  22. aasmdata,
  23. symtype,
  24. cgbase,cgutils,hlcgobj,hlcgrv;
  25. type
  26. thlcgcpu = class(thlcgriscv)
  27. end;
  28. procedure create_hlcodegen;
  29. implementation
  30. uses
  31. verbose,
  32. cpubase,aasmcpu,
  33. defutil,
  34. cgobj,cgcpu;
  35. procedure create_hlcodegen;
  36. begin
  37. hlcg:=thlcgcpu.create;
  38. create_codegen;
  39. end;
  40. begin
  41. chlcgobj:=thlcgcpu;
  42. end.