summary refs log tree commit diff
path: root/amd64/isel.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-14 13:49:26 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2021-09-20 09:10:10 +0200
commitbb16529b34a844c6e15f8837950585761122106e (patch)
treef676f1e5c327b52296510b9cd2bd0f20212363a3 /amd64/isel.c
parent52c8eb48ee86c8fd0e44570c31c7de28dea63cf3 (diff)
downloadroux-bb16529b34a844c6e15f8837950585761122106e.tar.gz
parse: fix loadw when assigned to l temporary
The documentation states that loadw is syntactic sugar for loadsw,
but it actually got parsed as Oload. If the result is an l temporary,
Oload behaves like Oloadl, not Oloadsw.

To fix this, parse Tloadw as Oloadsw explicitly.
Diffstat (limited to 'amd64/isel.c')
0 files changed, 0 insertions, 0 deletions