Ignore:
Timestamp:
2011-08-20T18:15:28Z (13 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
07b39338
Parents:
3e01316f
Message:

Fix external.c files and change a few things in configuration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/pcc/cc/ccom/arch/amd64/external.h

    r3e01316f r0cf27ee  
    1 // TODO: replace with file generated by ccom_mkext
    2 
    31#ifndef _EXTERNAL_H_
    42#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
    715#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 int bittype;
     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))))
     19typedef long bittype;
    1220extern int tempregs[], permregs[];
    13 #define NTEMPREG 0
    14 #define FREGS 0
    15 #define NPERMREG 0
     21#define NTEMPREG 26
     22#define FREGS 25
     23#define NPERMREG 6
    1624extern bittype validregs[];
    17 #define AREGCNT 0
    18 #define BREGCNT 0
    19 #define CREGCNT 0
     25#define AREGCNT 14
     26#define BREGCNT 16
     27#define CREGCNT 8
    2028#define DREGCNT 0
    2129#define EREGCNT 0
Note: See TracChangeset for help on using the changeset viewer.