forked from tinygrad/tinygrad
add ds_load_b96 and ds_store_b96 instructions (#10338)
This commit is contained in:
@@ -1402,9 +1402,10 @@ impl<'a> Thread<'a> {
|
||||
|
||||
match op {
|
||||
// load
|
||||
54 | 118 | 255 => {
|
||||
54 | 118 | 254 | 255 => {
|
||||
let dwords = match op {
|
||||
255 => 4,
|
||||
254 => 3,
|
||||
118 => 2,
|
||||
_ => 1,
|
||||
};
|
||||
@@ -1425,9 +1426,10 @@ impl<'a> Thread<'a> {
|
||||
self.vec_reg.write64(vdst + 2, self.lds.read64(addr1));
|
||||
}
|
||||
// store
|
||||
13 | 77 | 223 => {
|
||||
13 | 77 | 222 | 223 => {
|
||||
let dwords = match op {
|
||||
223 => 4,
|
||||
222 => 3,
|
||||
77 => 2,
|
||||
_ => 1,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user