diff options
author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2020-03-02 18:59:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 18:59:02 +0100 |
commit | c11b19619e82377be9c43e926d66086124637044 (patch) | |
tree | 26ff38f812a817aa9f12fe9354525b768886a63d /cfrontend/Initializers.v | |
parent | 94558ecb3e48261f12c644045d40c7d0784415e0 (diff) | |
download | compcert-c11b19619e82377be9c43e926d66086124637044.tar.gz compcert-c11b19619e82377be9c43e926d66086124637044.zip |
Update the RISC-V calling conventions, continued (#227)
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.
Diffstat (limited to 'cfrontend/Initializers.v')
0 files changed, 0 insertions, 0 deletions