Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] [RFC] using 64bit wide registers with 32bit kernel
@ 2006-05-13 15:41 Thibaut VARENE
  2006-05-13 16:33 ` [parisc-linux] " Thibaut VARENE
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Thibaut VARENE @ 2006-05-13 15:41 UTC (permalink / raw)
  To: parisc-linux

Hi pa,

I've been writing a few optimized asm bits for ffmpeg, using MAX2
insns and taking advantage of the fact that pa2.0 implements 64bit
wide registers.

NOTE: i'm not using a 64bit address space at all. I'm just taking
advantage of the fact that GRs can hold 64bit, as per architecture
design. MAX2 insns need the full 64bit width, for instance.

Yet, Randolph pointed out that it's likely that upon context switch,
the upper 32bit of the registers i'm using would be thrown away.

Two options from there:
1) we claim what I'm trying to do should not be done on parisc-linux
=3D> using ldd/std, MAX2 and other insns that rely on 64bit regs should
be prohibited by binutils for non-wide code (currently gcc/binutils
happily build my code with -mpa-risc-2-0, which generates level 2.0
non wide code)

2) we claim what I'm trying to do should be possible on parisc-linux
=3D> we need to fix context switching in 32bit kernels.

Comments?

T-Bone

--=20
Thibaut VARENE
http://www.parisc-linux.org/~varenet/
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-05-15 11:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-13 15:41 [parisc-linux] [RFC] using 64bit wide registers with 32bit kernel Thibaut VARENE
2006-05-13 16:33 ` [parisc-linux] " Thibaut VARENE
2006-05-13 17:03 ` [parisc-linux] " James Bottomley
2006-05-13 22:32   ` Thibaut VARENE
     [not found]   ` <yq0ves7psaw.fsf@jaguar.mkp.net>
     [not found]     ` <7d01f9f00605150255u5846f144u9c95cab3ffd35133@mail.gmail.com>
2006-05-15 10:56       ` Jes Sorensen
2006-05-15 11:53     ` Kyle McMartin
2006-05-13 17:07 ` John David Anglin
2006-05-13 22:43   ` Thibaut VARENE
2006-05-13 23:35     ` John David Anglin
2006-05-14  5:06       ` John Marvin
2006-05-14  6:27       ` Grant Grundler
     [not found]         ` <200605141510.k4EFAUv7006350@hiauly1.hia.nrc.ca>
2006-05-15  1:06           ` Grant Grundler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox