From: "M. Koehrer" <mathias_koehrer@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Are xmm-registers saved with a (task) context switch
Date: Wed, 11 Jun 2008 12:26:33 +0200 (CEST) [thread overview]
Message-ID: <14821321.1213179993177.JavaMail.ngmail@domain.hid> (raw)
Hi!
I want to use the xmm0 register (from the SSE2 extension of a Core2Duo CPU) to do atomic 64bit write/read accesses in
32 bit x86 mode.
My question is: Will the xmm[0..7] registers be saved with a task context switch when running Xenomai real time tasks in user
space or do I have to take care to save them on the stack before using (and restoring them afterwards).
Is it save to use these registers or will they be used by Xenomai (or Linux) internally?
Thanks for any answer on that question.
Regards
Mathias
--
Mathias Koehrer
mathias_koehrer@domain.hid
Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und optional 60 Pay TV Sender, einen elektronischen Programmführer mit Movie Star Bewertungen von TV Movie. Außerdem, aktuelle Filmhits und spannende Dokus in der Arcor-Videothek. Infos unter www.arcor.de/tv
next reply other threads:[~2008-06-11 10:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-11 10:26 M. Koehrer [this message]
2008-06-11 12:16 ` [Xenomai-help] Are xmm-registers saved with a (task) context switch Gilles Chanteperdrix
2008-06-11 12:18 ` Gilles Chanteperdrix
2008-06-11 12:37 ` [Xenomai-help] Are xmm-registers saved with a (task) context M. Koehrer
2008-06-11 12:45 ` Gilles Chanteperdrix
2008-06-11 13:09 ` M. Koehrer
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=14821321.1213179993177.JavaMail.ngmail@domain.hid \
--to=mathias_koehrer@domain.hid \
--cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.