Skip to content
  • Xavier Leroy's avatar
    Update the RISC-V calling conventions, continued (#227) · c11b1961
    Xavier Leroy authored
    Double FP arguments passed on stack were incorrectly aligned:
    they must be 8-aligned but were 4-aligned only.
    
    This was due to the use of `Location.typealign`, which is the minimal
    hardware-supported alignment for a given type, namely 1 word for type Tfloat.
    To get the correct alignments, `Location.typesize` must be used instead.
    c11b1961