Re: inline asm with sse problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<style> BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }</style>



 On Wed 06/02/08  7:42 PM , wojtekb82_23 wojtekb82_23@xxxxx sent:
> Hi,
> 
> 
> 
> I have the code [appendix 1] that I compile using [appendix 2] on system
> [appendix 3].
> 
> 
> I get a Segmentation fault at line:
> 
> 0x080487ca : movups (%esi),%xmm0
> 
> 0x080487cd : addps  (%ebx),%xmm0 
> 0x080487d0 : movups %xmm0,(%ebx) 
> 
> 
> 
> What am I doing wrong?

What is the alignment of %ebx?  If it's not 16 byte aligned you're probably going to get a fault.

Tom



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux