Fixes to backend to support matmul
Compare changes
Files
14+ 119
− 72
@@ -2,6 +2,7 @@ extern crate bitvec;
@@ -30,37 +31,22 @@ use crate::*;
@@ -81,6 +67,61 @@ pub fn cpu_compile<W: Write>(
@@ -115,11 +156,8 @@ pub fn cpu_compile<W: Write>(
@@ -127,13 +165,22 @@ pub fn cpu_compile<W: Write>(
@@ -152,10 +199,12 @@ pub fn cpu_compile<W: Write>(
@@ -271,7 +320,9 @@ fn emit_svalue<W: Write>(
@@ -295,17 +346,19 @@ fn emit_inst<W: Write>(
@@ -318,11 +371,11 @@ fn emit_inst<W: Write>(
@@ -334,9 +387,9 @@ fn emit_inst<W: Write>(
@@ -444,7 +497,7 @@ fn emit_inst<W: Write>(
@@ -463,39 +516,33 @@ fn emit_inst<W: Write>(
@@ -513,42 +560,28 @@ fn emit_fork_join_seq_header<W: Write>(
@@ -563,6 +596,20 @@ fn emit_fork_join_seq_header<W: Write>(