Skip to content

Commit

Permalink
Workaround gcc bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-frigo committed Jan 14, 2006
1 parent 686f1af commit 7fa6953
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions simd/simd-sse.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ typedef __m128 V;

static inline V LOADL0(const R *addr, V val)
{
__asm__("movlps %1, %0" : "=x"(val) : "m"(*addr));
return val;
V retval;
__asm__("movlps %1, %0" : "=x"(retval) : "m"(*addr), "x"(val));
return retval;
}

#else
Expand Down

0 comments on commit 7fa6953

Please sign in to comment.