@@ -146,6 +146,9 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
146
146
/* #define FORCE_SPARCV7 */
147
147
/* #define FORCE_ZARCH_GENERIC */
148
148
/* #define FORCE_Z13 */
149
+ /* #define FORCE_EV4 */
150
+ /* #define FORCE_EV5 */
151
+ /* #define FORCE_EV6 */
149
152
/* #define FORCE_GENERIC */
150
153
151
154
#ifdef FORCE_P2
@@ -1601,6 +1604,42 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1601
1604
#define CORENAME "Z14"
1602
1605
#endif
1603
1606
1607
+ #ifdef FORCE_EV4
1608
+ #define FORCE
1609
+ #define ARCHITECTURE "ALPHA"
1610
+ #define SUBARCHITECTURE "ev4"
1611
+ #define ARCHCONFIG "-DEV4 " \
1612
+ "-DL1_DATA_SIZE=16384 -DL1_DATA_LINESIZE=32 " \
1613
+ "-DL2_SIZE=2097152 -DL2_LINESIZE=32 " \
1614
+ "-DDTB_DEFAULT_ENTRIES=32 -DDTB_SIZE=8192 "
1615
+ #define LIBNAME "ev4"
1616
+ #define CORENAME "EV4"
1617
+ #endif
1618
+
1619
+ #ifdef FORCE_EV5
1620
+ #define FORCE
1621
+ #define ARCHITECTURE "ALPHA"
1622
+ #define SUBARCHITECTURE "ev5"
1623
+ #define ARCHCONFIG "-DEV5 " \
1624
+ "-DL1_DATA_SIZE=16384 -DL1_DATA_LINESIZE=32 " \
1625
+ "-DL2_SIZE=2097152 -DL2_LINESIZE=64 " \
1626
+ "-DDTB_DEFAULT_ENTRIES=64 -DDTB_SIZE=8192 "
1627
+ #define LIBNAME "ev5"
1628
+ #define CORENAME "EV5"
1629
+ #endif
1630
+
1631
+ #ifdef FORCE_EV6
1632
+ #define FORCE
1633
+ #define ARCHITECTURE "ALPHA"
1634
+ #define SUBARCHITECTURE "ev6"
1635
+ #define ARCHCONFIG "-DEV6 " \
1636
+ "-DL1_DATA_SIZE=32768 -DL1_DATA_LINESIZE=64 " \
1637
+ "-DL2_SIZE=4194304 -DL2_LINESIZE=64 " \
1638
+ "-DDTB_DEFAULT_ENTRIES=64 -DDTB_SIZE=8192 "
1639
+ #define LIBNAME "ev6"
1640
+ #define CORENAME "EV6"
1641
+ #endif
1642
+
1604
1643
#ifdef FORCE_C910V
1605
1644
#define FORCE
1606
1645
#define ARCHITECTURE "RISCV64"
@@ -1777,7 +1816,7 @@ int main(int argc, char *argv[]){
1777
1816
#ifdef FORCE
1778
1817
printf ("CORE=%s\n" , CORENAME );
1779
1818
#else
1780
- #if defined(INTEL_AMD ) || defined(POWER ) || defined(__mips__ ) || defined(__arm__ ) || defined(__aarch64__ ) || defined(ZARCH ) || defined(sparc ) || defined(__loongarch__ ) || defined(__riscv )
1819
+ #if defined(INTEL_AMD ) || defined(POWER ) || defined(__mips__ ) || defined(__arm__ ) || defined(__aarch64__ ) || defined(ZARCH ) || defined(sparc ) || defined(__loongarch__ ) || defined(__riscv ) || defined( __alpha__ )
1781
1820
printf ("CORE=%s\n" , get_corename ());
1782
1821
#endif
1783
1822
#endif
0 commit comments