rtl cache refactory

This commit is contained in:
Blaise Tine
2020-04-30 17:12:18 -04:00
parent 814ac50d12
commit a1dc90b951
67 changed files with 51076 additions and 51059 deletions

View File

@@ -5,7 +5,7 @@
.type _start, @function
_start:
la a1, vx_set_sp
li a0, NW # activate all warps
li a0, NUM_WARPS # activate all warps
.word 0x00b5106b # wspawn a0(numWarps), a1(PC SPAWN)
jal vx_set_sp
li a0, 1
@@ -29,7 +29,7 @@ _start:
.type vx_set_sp, @function
.global vx_set_sp
vx_set_sp:
li a0, NT
li a0, NUM_THREADS
.word 0x0005006b # activate all threads
.option push

View File

@@ -1,9 +1,11 @@
COMP = /opt/riscv-new/drops/bin/riscv32-unknown-elf-g++
COMP = ~/dev/riscv-gnu-toolchain/drops/bin/riscv32-unknown-elf-g++
#COMP = /opt/riscv-new/drops/bin/riscv32-unknown-elf-g++
CC_FLAGS = -march=rv32im -mabi=ilp32 -O0 -Wl,-Bstatic,-T,../../startup/vx_link.ld -ffreestanding -nostdlib
DMP = /opt/riscv-new/drops/bin/riscv32-unknown-elf-objdump
CPY = /opt/riscv-new/drops/bin/riscv32-unknown-elf-objcopy
DMP = ~/dev/riscv-gnu-toolchain/drops/bin/riscv32-unknown-elf-objdump
CPY = ~/dev/riscv-gnu-toolchain/drops/bin/riscv32-unknown-elf-objcopy
NEWLIB = ../../newlib/newlib.c
@@ -12,7 +14,11 @@ VX_INT = ../../intrinsics/vx_intrinsics.s
VX_IO = ../../io/vx_io.s ../../io/vx_io.c
VX_API = ../../vx_api/vx_api.c
VX_FIO = ../../fileio/fileio.s
LIBS = /opt/riscv-new/drops/riscv32-unknown-elf/lib/libc.a /opt/riscv-new/drops/riscv32-unknown-elf/lib/libstdc++.a -static-libgcc -lgcc
VX_MAIN = vx_simple_main
LIBS = ~/dev/riscv-gnu-toolchain/drops/riscv32-unknown-elf/lib/libc.a ~/dev/riscv-gnu-toolchain/drops/riscv32-unknown-elf/lib/libstdc++.a -static-libgcc -lgcc
#LIBS = /opt/riscv-new/drops/riscv32-unknown-elf/lib/libc.a /opt/riscv-new/drops/riscv32-unknown-elf/lib/libstdc++.a -static-libgcc -lgcc
VX_SRCS = vx_simple_main.c tests.c

View File

@@ -8,7 +8,7 @@ int tmc_array[4] = {5,5,5,5};
void test_tmc()
{
vx_print_str("testing_tmc\n");
//vx_print_str("testing_tmc\n");
vx_tmc(4);

View File

@@ -1,7 +1,7 @@
#include "../../intrinsics/vx_intrinsics.h"
#include "../../io/vx_io.h"
#include "../common/tests.h"
#include "tests.h"
#include "../../vx_api/vx_api.h"

File diff suppressed because it is too large Load Diff

BIN
runtime/tests/simple/vx_simple_main.elf Normal file → Executable file

Binary file not shown.

File diff suppressed because it is too large Load Diff