Re: Loading single word to a xmm register
- From: "\\\~\o/~///annabee" <faq@xxxxxxxxxxxxxx>
- Date: 28 Feb 2006 09:32:14 -0800
Hi Frank.
For the one you suggested, this works.
roughly 24 cycles.
TestProc:
rdtsc | push eax
mov esi TestData
PINSRW xmm0 w§esi 7 | add esi 2
PINSRW xmm0 w§esi 6 | add esi 2
PINSRW xmm0 w§esi 5 | add esi 2
PINSRW xmm0 w§esi 4 | add esi 2
PINSRW xmm0 w§esi 3 | add esi 2
PINSRW xmm0 w§esi 2 | add esi 2
PINSRW xmm0 w§esi 1 | add esi 2
PINSRW xmm0 w§esi 0 | add esi 2
rdtsc | pop ebx
sub eax ebx
int 3
.
- Follow-Ups:
- Re: Loading single word to a xmm register
- From: \\\~\o/~///annabee
- Re: Loading single word to a xmm register
- References:
- Loading single word to a xmm register
- From: enjoyamalp
- Re: Loading single word to a xmm register
- From: \\\~\o/~///annabee
- Re: Loading single word to a xmm register
- From: Betov
- Re: Loading single word to a xmm register
- From: \\\~\o/~///annabee
- Re: Loading single word to a xmm register
- From: Betov
- Re: Loading single word to a xmm register
- From: \\\~\o/~///annabee
- Loading single word to a xmm register
- Prev by Date: Re: Loading single word to a xmm register
- Next by Date: Re: Loading single word to a xmm register
- Previous by thread: Re: Loading single word to a xmm register
- Next by thread: Re: Loading single word to a xmm register
- Index(es):
Relevant Pages
|