Unverified Commit e8d15a48 authored by Saleem Abdulrasool's avatar Saleem Abdulrasool Committed by GitHub
Browse files

machine: correct some additional cases of UB (#246)

Use of asm aliased register variables in local scope can only be used
for extended assembly parameters.  This changes the few instances of
this in the floating point emulation to use the GNU extended assembly
syntax to access the `tp` register.  This ensures that we do not rely on
undefined behaviour.  This was uncovered when building the Proxy kernel
with clang and LLVM.
parent 5450c2f7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment