Changeset ac08cd9 in mainline for uspace/app/pcc/cc/ccom/arch/amd64/external.h
- Timestamp:
- 2011-08-20T18:31:45Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b9355a
- Parents:
- c8f70eb (diff), 6ab014d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/pcc/cc/ccom/arch/amd64/external.h
rc8f70eb rac08cd9 1 // TODO: replace with file generated by ccom_mkext2 3 1 #ifndef _EXTERNAL_H_ 4 2 #define _EXTERNAL_H_ 5 #define MAXOPLEN 0 6 #define NUMBITS 32 3 #define NEED_SMULLL 4 #define NEED_SDIVLL 5 #define NEED_SMODLL 6 #define NEED_SPLUSLL 7 #define NEED_SMINUSLL 8 #define NEED_UMULLL 9 #define NEED_UDIVLL 10 #define NEED_UMODLL 11 #define NEED_UPLUSLL 12 #define NEED_UMINUSLL 13 #define MAXOPLEN 48 14 #define NUMBITS 64 7 15 #define BIT2BYTE(bits) ((((bits)+NUMBITS-1)/NUMBITS)*(NUMBITS/8)) 8 #define BITSET(arr, bit) (arr[bit/NUMBITS] |= (( int)1 << (bit & (NUMBITS-1))))9 #define BITCLEAR(arr, bit) (arr[bit/NUMBITS] &= ~(( int)1 << (bit & (NUMBITS-1))))10 #define TESTBIT(arr, bit) (arr[bit/NUMBITS] & (( int)1 << (bit & (NUMBITS-1))))11 typedef intbittype;16 #define BITSET(arr, bit) (arr[bit/NUMBITS] |= ((long)1 << (bit & (NUMBITS-1)))) 17 #define BITCLEAR(arr, bit) (arr[bit/NUMBITS] &= ~((long)1 << (bit & (NUMBITS-1)))) 18 #define TESTBIT(arr, bit) (arr[bit/NUMBITS] & ((long)1 << (bit & (NUMBITS-1)))) 19 typedef long bittype; 12 20 extern int tempregs[], permregs[]; 13 #define NTEMPREG 014 #define FREGS 015 #define NPERMREG 021 #define NTEMPREG 26 22 #define FREGS 25 23 #define NPERMREG 6 16 24 extern bittype validregs[]; 17 #define AREGCNT 018 #define BREGCNT 019 #define CREGCNT 025 #define AREGCNT 14 26 #define BREGCNT 16 27 #define CREGCNT 8 20 28 #define DREGCNT 0 21 29 #define EREGCNT 0
Note:
See TracChangeset
for help on using the changeset viewer.