Click here to Skip to main content
15,908,166 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
General_asm code Pin
ForNow31-Mar-08 14:33
ForNow31-Mar-08 14:33 
GeneralUsing and Preserving Registers in Inline Assembly Pin
Randor 1-Apr-08 16:42
professional Randor 1-Apr-08 16:42 
GeneralRe: Using and Preserving Registers in Inline Assembly Pin
ForNow1-Apr-08 19:41
ForNow1-Apr-08 19:41 
GeneralAnything special prlouge __fastcall with _asm Pin
ForNow3-Apr-08 6:16
ForNow3-Apr-08 6:16 
GeneralRe: Anything special prlouge __fastcall with _asm Pin
Randor 7-Apr-08 17:37
professional Randor 7-Apr-08 17:37 
GeneralRe: Anything special prlouge __fastcall with _asm Pin
ForNow7-Apr-08 23:03
ForNow7-Apr-08 23:03 
GeneralRe: Using and Preserving Registers in Inline Assembly Pin
bob169726-Apr-08 7:39
bob169726-Apr-08 7:39 
GeneralRe: Using and Preserving Registers in Inline Assembly Pin
Randor 7-Apr-08 17:58
professional Randor 7-Apr-08 17:58 
bob16972 wrote:
do you know if that means putting inline assembly in code now for x86 processors now will require a new tactic when compiling for x64 processors down the road?


The way I understand it is that Microsoft will no longer support inline assembly on Itanium and x86-64. They will of course continue to support .asm MASM files.

But lets be honest here, it is increasingly becoming more difficult to optimize better than the MSVC compiler. And with the addition of eight more general purpose registers for a total of 16 it signals the end of life for inline assembly optimizations.

We asm programmers dinosaurs are still successful with hand optimizations of extended instruction sets MMX/SSE/SSE2/3/4 but unfortunately for x86-64 Microsoft compilers will force the engineer to use compiler intrinsics:

http://msdn2.microsoft.com/en-us/library/y0dh78ez(VS.80).aspx[^]

Hopefully this answers your question about the future of inline assembly.

Best Wishes,
-David Delaune
GeneralRe: Using and Preserving Registers in Inline Assembly Pin
bob169728-Apr-08 3:29
bob169728-Apr-08 3:29 
QuestionWrite a function that will return the 5th element from the end ( not from the head of the list) in a singly linked list of integers, in one pass Pin
beyondjjw27-Mar-08 14:46
beyondjjw27-Mar-08 14:46 
GeneralRe: Write a function that will return the 5th ... Pin
Matthew Butler28-Mar-08 4:06
Matthew Butler28-Mar-08 4:06 
GeneralRe: Write a function that will return the 5th element from the end ( not from the head of the list) in a singly linked list of integers, in one pass Pin
Gary R. Wheeler29-Mar-08 0:28
Gary R. Wheeler29-Mar-08 0:28 
GeneralRe: Write a function that will return the 5th element from the end ( not from the head of the list) in a singly linked list of integers, in one pass Pin
Trollslayer3-Apr-08 12:38
mentorTrollslayer3-Apr-08 12:38 
GeneralDrive backup/transfer software Pin
hairy_hats27-Mar-08 6:27
hairy_hats27-Mar-08 6:27 
GeneralRe: Drive backup/transfer software Pin
Jörgen Andersson27-Mar-08 12:06
professionalJörgen Andersson27-Mar-08 12:06 
GeneralRe: Drive backup/transfer software Pin
hairy_hats28-Mar-08 0:14
hairy_hats28-Mar-08 0:14 
GeneralRe: Drive backup/transfer software Pin
code-frog28-Mar-08 3:54
professionalcode-frog28-Mar-08 3:54 
GeneralRe: Drive backup/transfer software Pin
hairy_hats29-Mar-08 15:11
hairy_hats29-Mar-08 15:11 
GeneralNDIS Driver Development Pin
Eakalavya25-Mar-08 22:40
Eakalavya25-Mar-08 22:40 
AnswerRe: NDIS Driver Development Pin
Himanshu Joshi25-Mar-08 23:01
Himanshu Joshi25-Mar-08 23:01 
GeneralRe: NDIS Driver Development [modified] Pin
Eakalavya25-Mar-08 23:39
Eakalavya25-Mar-08 23:39 
GeneralRe: NDIS Driver Development Pin
Himanshu Joshi25-Mar-08 23:55
Himanshu Joshi25-Mar-08 23:55 
GeneralRe: NDIS Driver Development Pin
Eakalavya26-Mar-08 0:05
Eakalavya26-Mar-08 0:05 
GeneralRe: NDIS Driver Development Pin
Sebastian Schneider27-Mar-08 3:49
Sebastian Schneider27-Mar-08 3:49 
GeneralRe: NDIS Driver Development Pin
Eakalavya27-Mar-08 18:49
Eakalavya27-Mar-08 18:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.