isel5.ssa 267 B

12345678910111213141516
  1. # make sure the local symbols used for
  2. # fp constants do not get a _ prefix
  3. # on apple arm hardware
  4. export function w $main() {
  5. @start
  6. %r =d copy d_1.2
  7. %x =w call $printf(l $fmt, ..., d %r)
  8. ret 0
  9. }
  10. data $fmt = { b "%.06f\n", b 0 }
  11. # >>> output
  12. # 1.200000
  13. # <<<