Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / June 2006

Tip: Looking for answers? Try searching our database.

MOVDQA generated for unaligned address

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim Lewis - 20 Jun 2006 20:18 GMT
Using Visual Studio 2005 C++ compiler, I am getting a MOVDQA(in x64 mode)
generated on an unaligned stack address. I actually have a debug screen shot
showing RSP being set correctly at the start of the function.

Here is the code:

; RSP = FFFB00 here, all numbers are in hex
mov qword ptr [rsp+18], r8
mov qword ptr [rsp+10], rdx
mov qword ptr [rsp+8], rcx
push rbx
push rbp
push rsi
push rdi
mov rax, rsp
sub rsp, 00000978
xor ebp, ebp
movdqa [rax-18], xmm6   ; exception generated here
Carl Daniel [VC++ MVP] - 20 Jun 2006 21:08 GMT
> Using Visual Studio 2005 C++ compiler, I am getting a MOVDQA(in x64 mode)
> generated on an unaligned stack address. I actually have a debug screen
> shot
> showing RSP being set correctly at the start of the function.

You should submit bug reports through Connect:

http://connect.microsoft.com/site/sitehome.aspx?SiteID=210

I'm sure someone from the compiler team looking into the issue would need to
see the source code that resulted in the improper code generation.

Additionally, you might want to contact Product Support to see if a hotfix
is available:

http://msdn.microsoft.com/visualc/support/

-cd

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.