|
|
1.1 root 1: /* tm.h file for fmtowns, a 386 machine. */
2:
3: #include "tm-i386gas.h"
4:
5: /* Control a conditional in i386.md, in call_value. */
6: #define FMTOWNS
7:
8: /* On this machine, we really avoid using the fpu registers
9: if we have no fpu. */
10:
11: #undef VALUE_REGNO
12: #define VALUE_REGNO(MODE) \
13: ((TARGET_80387 && ((MODE)==SFmode || (MODE)==DFmode)) ? FIRST_FLOAT_REG : 0)
14:
15: #undef FUNCTION_VALUE_REGNO
16: #define FUNCTION_VALUE_REGNO_P(N) \
17: (TARGET_80387 ? ((N) == 0 || ((N)== FIRST_FLOAT_REG)) : ((N) == 0))
18:
19: #undef REG_CLASS_FROM_LETTER
20: #define REG_CLASS_FROM_LETTER(C) \
21: ((C) == 'r' ? GENERAL_REGS : \
22: (C) == 'q' ? Q_REGS : \
23: (C) == 'f' ? (TARGET_80387 ? FLOAT_REGS : NO_REGS) : \
24: (C) == 'a' ? AREG : (C) == 'b' ? BREG : \
25: (C) == 'c' ? CREG : (C) == 'd' ? DREG : \
26: (C) == 'A' ? ADREG : \
27: (C) == 'S' ? SIREG : \
28: (C) == 'D' ? DIREG : NO_REGS)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.