aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-10-28 00:50:03 +0100
committergingerBill <bill@gingerbill.org>2021-10-28 00:50:03 +0100
commit0a1ef1e59da47a15a04967a407ff3e8a7a2ffea4 (patch)
treeea6ead878fc3da95b5438672c043c2e3f8defa88 /examples
parent44a43eae107c6c4f509b6951cefa6387c80ab58b (diff)
Improve comment
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/demo.odin3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/demo/demo.odin b/examples/demo/demo.odin
index bc543b823..96e770241 100644
--- a/examples/demo/demo.odin
+++ b/examples/demo/demo.odin
@@ -2367,7 +2367,8 @@ matrix_type :: proc() {
// TECHNICAL INFORMATION: the internal representation of a matrix in Odin is stored
// in column-major format
// e.g. matrix[2, 3]f32 is internally [3][2]f32 (with different a alignment requirement)
- // Column-major is used in order to utilize SIMD instructions effectively on modern hardware
+ // Column-major is used in order to utilize (SIMD) vector instructions effectively on
+ // modern hardware, if possible.
//
// Unlike normal arrays, matrices try to maximize alignment to allow for the (SIMD) vectorization
// properties whilst keeping zero padding (either between columns or at the end of the type).