Could I use the newest Intel PIV instructions thorugh asembler with VC++.NET
'02?

Re: pentium IV (matrix instructions) by Carl

Carl
Wed Mar 03 08:40:43 CST 2004

Jordi Maycas wrote:
> Could I use the newest Intel PIV instructions thorugh asembler with
> VC++.NET '02?

No. But you can use the compiler supplied intrinsics instead. See

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vclrfcompilersupportformmxssesse2intrinsics.asp

for details.

-cd



Re: pentium IV (matrix instructions) by Alex

Alex
Wed Mar 03 09:52:48 CST 2004

You should know, there is no instruction that can't be used in the asm
blocks.

"Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@mvps.org.nospam>
wrote in message news:uAu1E2SAEHA.3944@TK2MSFTNGP11.phx.gbl...
> Jordi Maycas wrote:
> > Could I use the newest Intel PIV instructions thorugh asembler with
> > VC++.NET '02?
>
> No. But you can use the compiler supplied intrinsics instead. See
>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vclrfcompilersupportformmxssesse2intrinsics.asp
>
> for details.
>
> -cd
>
>



Re: pentium IV (matrix instructions) by Carl

Carl
Wed Mar 03 20:57:37 CST 2004

There will be in the future (I can't argue one way or the other whether it's
true now). Use the intrinsics - IIUC, no more new instructions will be
supported in inline assembly in future versions of the product.
-cd

Alex wrote:
> You should know, there is no instruction that can't be used in the asm
> blocks.
>
> "Carl Daniel [VC++ MVP]"
> <cpdaniel_remove_this_and_nospam@mvps.org.nospam>
> wrote in message news:uAu1E2SAEHA.3944@TK2MSFTNGP11.phx.gbl...
>> Jordi Maycas wrote:
>>> Could I use the newest Intel PIV instructions thorugh asembler with
>>> VC++.NET '02?
>>
>> No. But you can use the compiler supplied intrinsics instead. See
>>
>>
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vclrfcompilersupportformmxssesse2intrinsics.asp
>>
>> for details.
>>
>> -cd



Re: pentium IV (matrix instructions) by Alex

Alex
Wed Mar 03 21:19:45 CST 2004

With emit you can use any instruction :)
and...you should be able to emit dw,dd,dq not just db :(
In fact, why not just leave the suport for the db,dw,etc.. in the asm
blocks? :((

And if I where to want to optimize something to such extent as to use
MMX/SSE/etc.. I don't think I'd want to use the intrinsics...

"Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@mvps.org.nospam>
wrote in message news:edYK2RZAEHA.3284@TK2MSFTNGP09.phx.gbl...
> There will be in the future (I can't argue one way or the other whether
it's
> true now). Use the intrinsics - IIUC, no more new instructions will be
> supported in inline assembly in future versions of the product.
> -cd
>
> Alex wrote:
> > You should know, there is no instruction that can't be used in the asm
> > blocks.
> >
> > "Carl Daniel [VC++ MVP]"
> > <cpdaniel_remove_this_and_nospam@mvps.org.nospam>
> > wrote in message news:uAu1E2SAEHA.3944@TK2MSFTNGP11.phx.gbl...
> >> Jordi Maycas wrote:
> >>> Could I use the newest Intel PIV instructions thorugh asembler with
> >>> VC++.NET '02?
> >>
> >> No. But you can use the compiler supplied intrinsics instead. See
> >>
> >>
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vclrfcompilersupportformmxssesse2intrinsics.asp
> >>
> >> for details.
> >>
> >> -cd
>
>



Re: pentium IV (matrix instructions) by Carl

Carl
Wed Mar 03 22:22:15 CST 2004

Alex wrote:
> With emit you can use any instruction :)
> and...you should be able to emit dw,dd,dq not just db :(
> In fact, why not just leave the suport for the db,dw,etc.. in the asm
> blocks? :((
>
> And if I where to want to optimize something to such extent as to use
> MMX/SSE/etc.. I don't think I'd want to use the intrinsics...

Actually you do:

- Already, the compiler is able to schedule the instructions emitted by the
intrinsics, possibly ordering them better then you can by hand.
- This is where the efforts of Intel & Microsoft are being directed -
they'll only get better.

-cd