Skip to content

Commit

Permalink
Merge pull request #4157 from redstar/solaris
Browse files Browse the repository at this point in the history
Fix typo in mnemonic in Solaris version of Port::yl2xp1_impl
  • Loading branch information
WalterBright committed Nov 21, 2014
2 parents c261535 + 52d6337 commit 3206671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/root/port.c
Expand Up @@ -961,7 +961,7 @@ void Port::yl2xp1_impl(long double* x, long double* y, long double* res)
"movl %2, %%ecx;"
"fldt (%%ebx);" // push *y and *x to the FPU stack
"fldt (%%eax);" // "t" suffix means tbyte
"yl2xp1;" // do operation and wait
"fyl2xp1;" // do operation and wait
"fstpt (%%ecx)" // pop result to a *res
: // output: empty
:"r"(x), "r"(y), "r"(res) // input: x => %0, y => %1, res => %2
Expand All @@ -988,7 +988,7 @@ void Port::yl2xp1_impl(long double* x, long double* y, long double* res)
"movq %2, %%r8;"
"fldt (%%rdx);" // push *y and *x to the FPU stack
"fldt (%%rcx);" // "t" suffix means tbyte
"yl2xp1;" // do operation and wait
"fyl2xp1;" // do operation and wait
"fstpt (%%r8)" // pop result to a *res
: // output: empty
:"r"(x), "r"(y), "r"(res) // input: x => %0, y => %1, res => %2
Expand Down

0 comments on commit 3206671

Please sign in to comment.