Skip to content

Commit

Permalink
fix mandelbrot alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
camel-cdr committed Aug 17, 2024
1 parent 7d4f7c7 commit 72b0b92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bench/mandelbrot.S
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ mandelbrot_rvv(size_t width, size_t maxIter, uint32_t *res)

#if HAS_F16
.global MX(mandelbrot_rvv_f16_) # generated by clang
.p2align 1
MX(rvv_f16_m1p5):
.half 0xbe00 # half -1.5
MX(rvv_f16_m1):
Expand Down Expand Up @@ -248,6 +249,7 @@ MX(rvv_f32_13):

#if MX_N == 2 && HAS_E64

.p2align 3
.global MX(mandelbrot_rvv_f64_) # generated by clang
MX(rvv_f64_m1p5):
.quad 0xbff8000000000000 # double -1.5
Expand Down

0 comments on commit 72b0b92

Please sign in to comment.