Bernd's assembler technique will work.

I have no idea why I can't find a description of this (taken from 
/usr/include/stdio.h)
  #ifndef __gtca
    #define __gtca() _gtca()
    #ifdef __cplusplus
      extern "builtin"
    #else
      #pragma linkage(_gtca,builtin)
    #endif
    const void *_gtca(void);
  #endif
online.  It is mentioned in the XL C/C++ Runtime Library Reference

Since it's not really described, I'm not sure you are allowed to count on it 
existing in the future.  But in the past, that is the function that I have used 
(in 31-bit anyway) to get the CAA directly in C++.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to