public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "graphitem at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/51955] _mm_setzero_si128 intrinsic causes segfault without -O
Date: Mon, 23 Jan 2012 07:24:00 -0000 [thread overview]
Message-ID: <bug-51955-4-2HpvbXKzsv@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-51955-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51955
--- Comment #4 from Dale Weiler <graphitem at gmail dot com> 2012-01-23 03:59:58 UTC ---
(In reply to comment #3)
> This is a bug in how your _start does not realign the stack to 16 byte aligned.
> movdqa %xmm0, -32(%rbp)
> movdqa -32(%rbp), %xmm0
> movdqa %xmm0, -16(%rbp)
>
> rbp 0x7fffffffe388 0x7fffffffe388
> rsp 0x7fffffffe388 0x7fffffffe388
Interesting, even with alignment it crashes however:
while ((((intptr_t)data)&15))
data++;
What exactly should be aligned the const char * for kill()?
I'm unsure to what you mean in regards to realigning the stack
for _just _start.
next prev parent reply other threads:[~2012-01-23 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-23 1:57 [Bug c/51955] New: _mm_setzero_si128 intri " graphitem at gmail dot com
2012-01-23 2:44 ` [Bug c/51955] _mm_setzero_si128 intrinsic " graphitem at gmail dot com
2012-01-23 2:54 ` graphitem at gmail dot com
2012-01-23 3:18 ` [Bug target/51955] " pinskia at gcc dot gnu.org
2012-01-23 7:24 ` graphitem at gmail dot com [this message]
2012-01-23 10:54 ` rguenth at gcc dot gnu.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-51955-4-2HpvbXKzsv@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).