From 71aea52cb7e88081e0a6479e002f370c763a20cf Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 7 Mar 2019 10:08:39 +0100 Subject: architectures page new --- architecture.php | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 architecture.php (limited to 'architecture.php') diff --git a/architecture.php b/architecture.php new file mode 100644 index 0000000..b7227d1 --- /dev/null +++ b/architecture.php @@ -0,0 +1,68 @@ + array( + 'CMOV' => 0, + 'MMX' => 0, + 'SSE' => 0, + 'SSE2' => 0 + ), + 'i686' => array( + 'CMOV' => 1, + 'MMX' => 1, + 'SSE' => 1, + 'SSE2' => 0 + ), + 'pentium4 (not yet implemented)' => array( + 'CMOV' => 1, + 'MMX' => 1, + 'SSE' => 1, + 'SSE2' => 1 + ) +); + +print_header('Architecture Overview'); +print "
\n"; +print " \n"; +print " \n"; +print " \n"; +foreach ($flags['i486'] as $flag => $dummy) { + print " \n"; +} +print " \n"; +$oddity = "odd"; +foreach ($flags as $arch => $arch_flags) { + print " \n"; + print " \n"; + foreach ($arch_flags as $flag => $required) { + print " \n"; + } + print " \n"; + if ($oddity == "odd") + $oddity = "even"; + else + $oddity = "odd"; +} +print "
\n"; +print " Architecture\n"; +print " \n"; + print " " . $flag . "\n"; + print "
\n"; + print " " . $arch . "\n"; + print " \n"; + if ($required == 1) + print " \n"; + else + print " \n"; + print " " . $flag . " is "; + if ($required == 0) + print "not "; + print "required"; + print " \n"; + print "
\n"; +print "
\n"; +print_footer(); -- cgit v1.2.3-70-g09d2