Пример #1
0
 public void Setup()
 {
     this.arch = new RiscVArchitecture(new ServiceContainer(), "riscV");
     arch.LoadUserOptions(new Dictionary <string, object>
     {
         { "FloatAbi", 64 }
     });
     this.cc  = new RiscVCallingConvention(arch);
     this.ccr = new CallingConventionEmitter();
 }
Пример #2
0
 private void Given_ArchWithFloatAbi(int floatAbi)
 {
     this.arch = new RiscVArchitecture(
         new ServiceContainer(),
         "riscV",
         new Dictionary <string, object>
     {
         { "FloatAbi", floatAbi }
     });
     this.cc  = new RiscVCallingConvention(arch);
     this.ccr = new CallingConventionEmitter();
 }
Пример #3
0
 public void Setup()
 {
     this.arch = new RiscVArchitecture("riscV");
     this.cc   = new RiscVCallingConvention(arch);
     this.ccr  = new CallingConventionEmitter();
 }