aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Elab.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2020-03-02 18:59:02 +0100
committerGitHub <noreply@github.com>2020-03-02 18:59:02 +0100
commitc11b19619e82377be9c43e926d66086124637044 (patch)
tree26ff38f812a817aa9f12fe9354525b768886a63d /cparser/Elab.ml
parent94558ecb3e48261f12c644045d40c7d0784415e0 (diff)
downloadcompcert-kvx-c11b19619e82377be9c43e926d66086124637044.tar.gz
compcert-kvx-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 'cparser/Elab.ml')
0 files changed, 0 insertions, 0 deletions