Fix inline asm in dscal: mark x, x1 as clobbered. Fixes #2408
authorBart Oldeman <bart.oldeman@calculquebec.ca>
Wed, 12 Feb 2020 14:11:44 +0000 (14:11 +0000)
committerBart Oldeman <bart.oldeman@calculquebec.ca>
Wed, 12 Feb 2020 14:11:44 +0000 (14:11 +0000)
commit7ea5e07d1cb59834428d982818b7cf565dcda4df
tree457b3fb7910e1500d6516baed36ee5d9e7e78455
parentcb6ef49857719b64c5f882e32957f5de2fb1d302
Fix inline asm in dscal: mark x, x1 as clobbered. Fixes #2408

The leaq instructions in dscal_kernel_inc_8 modify x and x1 so they
must be declared as input/output constraints, otherwise the compiler
may assume the corresponding registers are not modified.
kernel/x86_64/dscal.c