first commit; CPU2017_benchmarks added

This commit is contained in:
Rajshekar K K 2023-08-01 12:33:39 +05:30
commit 8831a4e34d
24 changed files with 1602298 additions and 0 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@
20 reference.dat 0 1 100_100_130_cf_a.of

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,127 @@
<?xml version="1.0"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.schemaTest.org/train"
xmlns:big="http://www.schemaTest.org/train"
elementFormDefault="qualified">
<element name="BOOKS">
<complexType>
<sequence>
<element maxOccurs="unbounded" name="PLAY" type="big:PLAYType" />
</sequence>
</complexType>
</element>
<complexType name="PLAYType">
<sequence>
<element name="TITLE" type="big:BOOKTITLEType" />
<element name="FM" type="big:FMType" />
<element name="PERSONAE" type="big:PERSONAEType" />
<element name="SCNDESCR" type="string" />
<element name="PLAYSUBT" type="string" />
<element name="PROLOGUE" type="big:IPSType" minOccurs="0" />
<element name="INDUCT" type="big:IPSType" minOccurs="0" />
<element maxOccurs="unbounded" name="ACT" type="big:ACTType" />
</sequence>
</complexType>
<complexType name="ACTType">
<sequence>
<element name="TITLE" type="string" />
<choice maxOccurs="unbounded">
<element name="PROLOGUE" type="big:IPSType" />
<element name="SCENE" type="big:IPSType" />
</choice>
<element name="EPILOGUE" type="anyType" minOccurs="0"/>
</sequence>
</complexType>
<complexType name="IPSType">
<sequence>
<element name="TITLE" type="string" />
<choice maxOccurs="unbounded">
<element name="STAGEDIR" type="string" />
<element name="SUBHEAD" type="string" />
<element name="SCENE" type="big:IPSType" />
<element name="SPEECH" type="big:SPEECHType" />
</choice>
</sequence>
</complexType>
<complexType name="SPEECHType">
<choice maxOccurs="unbounded">
<element name="SPEAKER" type="string" />
<element name="LINE" type="anyType" />
<element name="STAGEDIR" type="string" />
<element name="SUBHEAD" type="anyType" />
<element name="EPILOGUE" type="anyType" />
</choice>
</complexType>
<complexType name="PERSONAEType">
<sequence>
<element name="TITLE" type="string" />
<choice maxOccurs="unbounded">
<element name="PGROUP" type="big:PGROUPType" />
<element name="PERSONA" type="string" />
</choice>
</sequence>
</complexType>
<complexType name="PGROUPType">
<sequence>
<element maxOccurs="unbounded" name="PERSONA" type="string" />
<element name="GRPDESCR" type="string" />
</sequence>
</complexType>
<complexType name="FMType">
<sequence>
<element maxOccurs="unbounded" name="P" type="string" />
</sequence>
</complexType>
<element name="PERSONA" type="string"/>
<simpleType name="BOOKTITLEType">
<restriction base="string">
<enumeration value="The Second Part of Henry the Fourth"/>
<enumeration value="The Tragedy of Othello, the Moor of Venice"/>
<enumeration value="Much Ado about Nothing"/>
<enumeration value="The First Part of Henry the Sixth"/>
<enumeration value="The Merchant of Venice"/>
<enumeration value="The Tragedy of Macbeth"/>
<enumeration value="The Merry Wives of Windsor"/>
<enumeration value="Measure for Measure"/>
<enumeration value="Love's Labor's Lost"/>
<enumeration value="The Tragedy of King Lear"/>
<enumeration value="The Tragedy of King Richard the Second"/>
<enumeration value="The Life and Death of King John"/>
<enumeration value="The Tragedy of Julius Caesar"/>
<enumeration value="The Famous History of the Life of Henry the Eighth"/>
<enumeration value="The Third Part of Henry the Sixth"/>
<enumeration value="The Tragedy of Titus Andronicus"/>
<enumeration value="The Life of Henry the Fifth"/>
<enumeration value="The First Part of Henry the Fourth"/>
<enumeration value="The Tragedy of Hamlet, Prince of Denmark"/>
<enumeration value="A Midsummer Night's Dream"/>
<enumeration value="Cymbeline"/>
<enumeration value="The Tragedy of Coriolanus"/>
<enumeration value="The Comedy of Errors"/>
<enumeration value="As You Like It"/>
<enumeration value="All's Well That Ends Well"/>
<enumeration value="The Tragedy of Antony and Cleopatra"/>
<enumeration value="Pericles, Prince of Tyre"/>
<enumeration value="The Tragedy of Romeo and Juliet"/>
<enumeration value="The Tragedy of Richard the Third"/>
<enumeration value="Twelfth Night, or What You Will"/>
<enumeration value="The Taming of the Shrew"/>
<enumeration value="The Tempest"/>
<enumeration value="The Life of Timon of Athens"/>
<enumeration value="The History of Troilus and Cressida"/>
<enumeration value="The Two Gentlemen of Verona"/>
<enumeration value="The Winter's Tale"/>
<enumeration value="The Second Part of Henry the Sixth"/>
</restriction>
</simpleType>
</schema>

View File

@ -0,0 +1,134 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:spec="http://www.schemaTest.org/train"
version="1.0">
<xsl:template match="/">
<html>
<body>
<xsl:apply-templates select="spec:BOOKS/spec:PLAY"/>
</body>
</html>
</xsl:template>
<xsl:template match="spec:BOOKS/spec:PLAY">
<h1><xsl:value-of select="spec:TITLE"/></h1>
<xsl:apply-templates select="spec:FM"/>
<xsl:apply-templates select="spec:PERSONAE"/>
<xsl:apply-templates select="spec:SCNDESCR"/>
<xsl:apply-templates select="spec:PLAYSUBT"/>
<xsl:apply-templates select="spec:INDUCT"/>
<xsl:apply-templates select="spec:PROLOGUE"/>
<xsl:apply-templates select="spec:ACT"/>
</xsl:template>
<xsl:template match="spec:FM">
<h4>Acknowledgement</h4>
<p><xsl:for-each select="spec:P">
<xsl:value-of select="."/><br/>
</xsl:for-each>
</p>
</xsl:template>
<xsl:template match="spec:PERSONAE">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="//spec:PERSONAE/spec:TITLE">
<h3><xsl:value-of select="."/></h3>
</xsl:template>
<xsl:template match="spec:SCNDESCR">
<h3><i><xsl:value-of select="."/></i></h3>
</xsl:template>
<xsl:template match="spec:PLAYSUBT">
<h3><i><xsl:value-of select="."/></i></h3>
</xsl:template>
<xsl:template match="spec:PROLOGUE">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="spec:PGROUP">
<h4><xsl:value-of select="spec:GRPDESCR"/></h4>
<p><xsl:for-each select="spec:PERSONA">
<i><xsl:value-of select="."/></i><br/>
</xsl:for-each>
</p>
</xsl:template>
<xsl:template match="spec:PERSONA">
<i><xsl:value-of select="."/></i><br/>
</xsl:template>
<xsl:template match="spec:ACT">
<h4><xsl:value-of select="spec:TITLE"/></h4>
<xsl:apply-templates select="spec:SCENE"/>
</xsl:template>
<xsl:template match="spec:SCENE">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="//spec:SCENE/spec:TITLE">
<h4><xsl:value-of select="."/></h4>
</xsl:template>
<xsl:template match="spec:SPEECH">
<table>
<tr valign="top">
<td><b><xsl:value-of select="spec:SPEAKER"/></b></td>
<td><xsl:apply-templates/></td>
</tr>
</table>
</xsl:template>
<xsl:template name="SPEAK">
<xsl:param name="PERSON"/>
<b><xsl:value-of select="$PERSON"/></b>
</xsl:template>
<xsl:template match="//spec:SPEECH/spec:LINE">
<xsl:variable name="RevText">
<xsl:call-template name="encryptText">
<xsl:with-param name="normalVerse" select="."/>
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="$RevText"/><br/>
</xsl:template>
<xsl:template name="encryptText">
<xsl:param name="normalVerse"/>
<xsl:param name="backwardsText" select="Empty"/>
<xsl:choose>
<xsl:when test="string-length($normalVerse) = 0">
<xsl:value-of select="$backwardsText"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="encryptText">
<xsl:with-param name="normalVerse" select="substring($normalVerse,2,string-length($normalVerse)-1)"/>
<xsl:with-param name="backwardsText" select="concat(substring($normalVerse,1,1),$backwardsText)"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="//spec:STAGEDIR">
<i><xsl:value-of select="."/></i><br/>
</xsl:template>
<xsl:template match="//spec:SUBHEAD">
<b><i><xsl:value-of select="."/></i></b><br/>
</xsl:template>
<xsl:template match="spec:EPILOGUE">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="spec:INDUCT">
<h3><xsl:value-of select="spec:TITLE"/></h3>
<xsl:apply-templates select="spec:SCENE"/>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,14 @@
# namd
./508.namd_r/namd_r_base.mytest-m64 --input ./508.namd_r/apoa1.input --iterations 5
# mcf
./505.mcf_r/mcf_r_base.mytest-m64 ./505.mcf_r/inp.in
# xalancbmk
./523.xalancbmk_r/cpuxalan_r_base.mytest-m64 -v ./523.xalancbmk_r/allbooks.xml ./523.xalancbmk_r/xalanc.xsl
# gcc
./502.gcc_r/cpugcc_r_base.mytest-m64 ./502.gcc_r/scilab.c -O3 -finline-limit=0 -fif-conversion -fif-conversion2 -o ./502.gcc_r/scilab.opts-O3_-finline-limit_0_-fif-conversion_-fif-conversion2.s
# lbm
./519.lbm_r/lbm_r_base.mytest-m64 300 ./519.lbm_r/lbm.in 0 0 ./519.lbm_r/100_100_130_cf_a.of

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.