Operating System - HP-UX
1823725 Members
3348 Online
109664 Solutions
New Discussion юеВ

Itanium (IA64) Assembly Language

 
Jackson Allen
New Member

Itanium (IA64) Assembly Language

Where can I find information on the IA64 Assembly Language, syntax, naming convention, the way it is used in HP-UX 11.X?

I have an application that has 2 routines that were written in AS for HPPA CPU. I need to port it to the Itanium CPU. One routine is a contditional spinlock, that is it locks memory, swaps a word in shared memory with a register, unlocks memory and returns a value to indicate it got the lock or not. The other just locks memory and clears the lock.

The idea of locking memory is it causes register moves to memory to complete and updates cache so other CPUs will be able to see the change.

Thanks:
Jack Allen
3 REPLIES 3
Rocco Foti
Occasional Advisor

Re: Itanium (IA64) Assembly Language

Hello,
you can try at the address:
http://docs.hp.com/en/5187-0701/ch07s03.html
or:
http://docs.hp.com/en/5965-4641/index.html

Good luck!

Bye,

Rocco Foti
Harri Pasanen_1
Advisor

Re: Itanium (IA64) Assembly Language

You could take a look at Linux kernel sources, it has those locking primitives for multiple CPU architectures.

Harri
Kent Ostby
Honored Contributor

Re: Itanium (IA64) Assembly Language

There is also this book which talks about Itanium for Programmers:

http://www.hp.com/hpbooks/prentice/ptr_0131013726.html
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"