GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "test and set" on itanium HP-UX 11iv2.0
Operating System - HP-UX
1847080
Members
4806
Online
110262
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 02:34 PM
11-17-2004 02:34 PM
"test and set" on itanium HP-UX 11iv2.0
Hi all
I am attempting to port my large application from HP-UX 11.00 (PA-RISC to Itanium 11iv2.0.
There is one small assembly file (see attached) that I am having problems porting.
I am compiling using "cc -c tas.s".
The first problem is that the include file "/usr/lib/pcc_prefix.s" does not exist on the Itanium.
I think I may need to re-write it fully, and as I need this on the Itanium for the rest of the application to work I was wondering if anyone here can please help as I am not familiar enough with assembly to do it.
Thanks in advance
JUP
I am attempting to port my large application from HP-UX 11.00 (PA-RISC to Itanium 11iv2.0.
There is one small assembly file (see attached) that I am having problems porting.
I am compiling using "cc -c tas.s".
The first problem is that the include file "/usr/lib/pcc_prefix.s" does not exist on the Itanium.
I think I may need to re-write it fully, and as I need this on the Itanium for the rest of the application to work I was wondering if anyone here can please help as I am not familiar enough with assembly to do it.
Thanks in advance
JUP
- Tags:
- atomic
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 06:47 PM
11-17-2004 06:47 PM
Re: "test and set" on itanium HP-UX 11iv2.0
Hi JUP,
For portability you should use anonymous mutex which are doing something equivalent:
pthread_mutex_init, pthread_mutex_unlock(3T),
pthread_mutex_trylock(3T).
Else it is not really easy to make assembly on ia64
For portability you should use anonymous mutex which are doing something equivalent:
pthread_mutex_init, pthread_mutex_unlock(3T),
pthread_mutex_trylock(3T).
Else it is not really easy to make assembly on ia64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2004 08:37 PM
11-18-2004 08:37 PM
Re: "test and set" on itanium HP-UX 11iv2.0
Hi,
you'd probably be interested in this white paper:
for implementing your own spinlocks
http://h21007.www2.hp.com/dspp/ddl/ddl_Download_File_TRX/1,,1674,00.pdf
Cheers
Cyrille
you'd probably be interested in this white paper:
for implementing your own spinlocks
http://h21007.www2.hp.com/dspp/ddl/ddl_Download_File_TRX/1,,1674,00.pdf
Cheers
Cyrille
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2004 05:42 AM
11-19-2004 05:42 AM
Re: "test and set" on itanium HP-UX 11iv2.0
Indeed, you will need to rewrite your assembly code - assembly is machine-specific and I doubt you want that stuff emulated :)
The Itanium fetch and add instruction comes to mind - I suspect that is in the paper already referenced.
The Itanium fetch and add instruction comes to mind - I suspect that is in the paper already referenced.
there is no rest for the wicked yet the virtuous have no pillows
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP