skia2/tests/sksl/runtime/golden/LoopInt.skvm
Brian Osman 3d81fdcbd2 Add unit tests for for-loop unrolling
Change-Id: I350a6768ac124362b0d3e0f17e7a026265acf804
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/353627
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2021-01-14 14:38:16 +00:00

11 lines
229 B
Plaintext

4 registers, 8 instructions:
0 r0 = splat 40A00000 (5)
1 r1 = splat 420C0000 (35)
2 r2 = splat 41700000 (15)
3 r3 = splat 3F800000 (1)
loop:
4 store32 ptr1 r0
5 store32 ptr2 r1
6 store32 ptr3 r2
7 store32 ptr4 r3