diff options
author | bd <bdunahu@operationnull.com> | 2025-05-11 22:42:50 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-11 22:42:50 -0400 |
commit | bb7de0c564309a52ff34fed7a8904552c4616492 (patch) | |
tree | 4cc60cf326a744ac86b4367d3be0f77c1bfc56eb /input/vector_fun.asm | |
parent | 0c81e5b481db57e14ccd0b2841b24baae15d30f9 (diff) |
Diffstat (limited to 'input/vector_fun.asm')
-rw-r--r-- | input/vector_fun.asm | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/input/vector_fun.asm b/input/vector_fun.asm index f91b4a0..c023cac 100644 --- a/input/vector_fun.asm +++ b/input/vector_fun.asm @@ -2,21 +2,21 @@ ;;; tests the ALU vector extension .data - s 4 + s 4 .text - load $4 s($0) ; set the vector length register + load $4 s($0) ; set the vector length register LOOP: - cev $17 $16 - beq END + cev $17 $16 + beq END - addv $17 $16 $17 - addv $17 $16 $17 - mulv $17 $17 $17 - subv $17 $17 $16 - subv $17 $17 $16 - subv $17 $17 $16 - jrl LOOP + addv $17 $16 $17 + addv $17 $16 $17 + mulv $17 $17 $17 + subv $17 $17 $16 + subv $17 $17 $16 + subv $17 $17 $16 + jrl LOOP END: - nop - nop - nop + nop + nop + nop |