Merge remote-tracking branch 'origin/Supervisor' into dev

This commit is contained in:
Dolu1990 2018-10-16 13:09:17 +02:00
commit 1e64d71609
317 changed files with 30879 additions and 421 deletions

1
.gitignore vendored
View file

@ -46,3 +46,4 @@ obj_dir
simWorkspace/
tmp/
/archive.tar.gz
*.out32

View file

@ -422,7 +422,8 @@ val cpu = new VexRiscv(
plugins = List(
new IBusSimplePlugin(
resetVector = 0x00000000l,
relaxedPcCalculation = true
cmdForkOnSecondStage = true,
cmdForkPersistence = true
),
new DBusSimplePlugin(
catchAddressMisaligned = false,
@ -643,19 +644,6 @@ This chapter describes plugins currently implemented.
- [DebugPlugin](#debugplugin)
- [YamlPlugin](#yamlplugin)
#### PcManagerSimplePlugin
This plugin implements the program counter and a jump service to all plugins.
| Parameters | type | description |
| ------ | ----------- | ------ |
| resetVector | BigInt | Address of the program counter after the reset |
| relaxedPcCalculation | Boolean | By default jump have an asynchronous immediate effect on the program counter, which allow to reduce the branch penalties by one cycle but could reduce the FMax as it will combinatorialy drive the instruction bus address signal. To avoid this you can set this parameter to true, which will make the jump affecting the programm counter in a sequancial way, which will cut the combinatorial path but add one additional cycle of penalty when a jump occur. |
This plugin operates on the prefetch stage.
#### IBusSimplePlugin
@ -665,8 +653,8 @@ This plugin implement the CPU frontend (instruction fetch) via a very simple and
| ------ | ----------- | ------ |
| catchAccessFault | Boolean | If an the read response specify an read error and this parameter is true, it will generate an CPU exception trap |
| resetVector | BigInt | Address of the program counter after the reset |
| relaxedPcCalculation | Boolean | By default jump have an asynchronous immediate effect on the program counter, which allow to reduce the branch penalties by one cycle but could reduce the FMax as it will combinatorialy drive the instruction bus address signal. To avoid this you can set this parameter to true, which will make the jump affecting the programm counter in a sequancial way, which will cut the combinatorial path but add one additional cycle of penalty when a jump occur. |
| relaxedBusCmdValid | Boolean | Same than relaxedPcCalculation, but for the iBus.cmd.valid pin. |
| cmdForkOnSecondStage | Boolean | By default jump have an asynchronous immediate effect on the program counter, which allow to reduce the branch penalties by one cycle but could reduce the FMax as it will combinatorialy drive the instruction bus address signal. To avoid this you can set this parameter to true, which will make the jump affecting the programm counter in a sequancial way, which will cut the combinatorial path but add one additional cycle of penalty when a jump occur. |
| cmdForkPersistence | Boolean | If this parameter is false, then request on the iBus can disappear/change before their completion. Which reduce area but isn't safe/supported by many arbitration/slaves. If you set this parameter to true, then the iBus cmd will stay until they are completed.
| compressedGen | Boolean | Enable RVC support |
| busLatencyMin | Int | Specify the minimal latency between the iBus.cmd and iBus.rsp, which will add the corresponding number of stages into the frontend to keep the IPC to 1.|
| injectorStage | Boolean | Add a stage between the frontend and the decode stage of the CPU to improve FMax. (busLatencyMin + injectorStage) should be at least two. |
@ -700,8 +688,9 @@ case class IBusSimpleBus(interfaceKeepData : Boolean) extends Bundle with IMaste
}
```
**Important** : There should be at least one cycle latency between que cmd and the rsp. The IBus.cmd can remove request when a CPU jump occure or when the CPU is halted by someting in the pipeline. As many arbitration aren't made for this behaviour, it is important to add a buffer to the iBus.cmd to avoid this. Ex : iBus.cmd.s2mPipe, which add a zero latency buffer and cut the iBus.cmd.ready path.
You can also do iBus.cmd.s2mPipe.m2sPipe, which will cut all combinatorial path of the bus but then as a latency of 1 cycle. which mean you should probably set the busLatencyMin to 2.
**Important** : Checkout the cmdForkPersistence parameter, because if it's not set, it can break the iBus compatibility with your memory system (unless you externaly add some buffers)
Setting cmdForkPersistence and cmdForkOnSecondStage improves iBus cmd timings.
Note that bridges are implemented to convert this interface into AXI4 and Avalon

View file

@ -98,7 +98,9 @@ object Riscv{
def ECALL = M"00000000000000000000000001110011"
def EBREAK = M"00000000000100000000000001110011"
def FENCEI = M"00000000000000000001000000001111"
def MRET = M"00110000001000000000000001110011"
def SRET = M"00010000001000000000000001110011"
def WFI = M"00010000010100000000000001110011"
def FENCE = M"-----------------000-----0001111"
@ -131,7 +133,20 @@ object Riscv{
def MCYCLEH = 0xB80 // MRW Upper 32 bits of mcycle, RV32I only.
def MINSTRETH = 0xB82 // MRW Upper 32 bits of minstret, RV32I only.
val SSTATUS = 0x100
val SIE = 0x104
val STVEC = 0x105
val SCOUNTEREN = 0x106
val SSCRATCH = 0x140
val SEPC = 0x141
val SCAUSE = 0x142
val SBADADDR = 0x143
val SIP = 0x144
val SATP = 0x180
def UCYCLE = 0xC00 // UR Machine ucycle counter.
def UCYCLEH = 0xC80
}
}

View file

@ -31,64 +31,64 @@ object TestsWorkspace {
SpinalConfig(mergeAsyncProcess = false, anonymSignalPrefix = "zz_").generateVerilog {
val configFull = VexRiscvConfig(
plugins = List(
// new IBusSimplePlugin(
// resetVector = 0x80000000l,
// relaxedPcCalculation = false,
// relaxedBusCmdValid = false,
// prediction = NONE,
// historyRamSizeLog2 = 10,
// catchAccessFault = true,
// compressedGen = true,
// busLatencyMin = 1,
// injectorStage = true
// ),
new IBusCachedPlugin(
new IBusSimplePlugin(
resetVector = 0x80000000l,
compressedGen = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = NONE,
injectorStage = true,
config = InstructionCacheConfig(
cacheSize = 4096,
bytePerLine = 32,
wayCount = 1,
addressWidth = 32,
cpuDataWidth = 32,
memDataWidth = 32,
catchIllegalAccess = true,
catchAccessFault = true,
catchMemoryTranslationMiss = true,
asyncTagMemory = false,
twoCycleRam = false,
twoCycleCache = true
),
memoryTranslatorPortConfig = MemoryTranslatorPortConfig(
portTlbSize = 4
)
historyRamSizeLog2 = 10,
catchAccessFault = false,
compressedGen = false,
busLatencyMin = 1,
injectorStage = true
),
// new DBusSimplePlugin(
// catchAddressMisaligned = true,
// catchAccessFault = true,
// earlyInjection = false
// new IBusCachedPlugin(
// resetVector = 0x80000000l,
// compressedGen = false,
// prediction = NONE,
// injectorStage = true,
// config = InstructionCacheConfig(
// cacheSize = 4096,
// bytePerLine = 32,
// wayCount = 1,
// addressWidth = 32,
// cpuDataWidth = 32,
// memDataWidth = 32,
// catchIllegalAccess = true,
// catchAccessFault = true,
// catchMemoryTranslationMiss = true,
// asyncTagMemory = false,
// twoCycleRam = false,
// twoCycleCache = true
// ),
// memoryTranslatorPortConfig = MemoryTranslatorPortConfig(
// portTlbSize = 4
// )
// ),
new DBusCachedPlugin(
config = new DataCacheConfig(
cacheSize = 4096,
bytePerLine = 32,
wayCount = 1,
addressWidth = 32,
cpuDataWidth = 32,
memDataWidth = 32,
catchAccessError = true,
catchIllegal = true,
catchUnaligned = true,
catchMemoryTranslationMiss = true,
atomicEntriesCount = 2
),
// memoryTranslatorPortConfig = null
memoryTranslatorPortConfig = MemoryTranslatorPortConfig(
portTlbSize = 6
)
new DBusSimplePlugin(
catchAddressMisaligned = true,
catchAccessFault = false,
earlyInjection = false
),
// new DBusCachedPlugin(
// config = new DataCacheConfig(
// cacheSize = 4096,
// bytePerLine = 32,
// wayCount = 1,
// addressWidth = 32,
// cpuDataWidth = 32,
// memDataWidth = 32,
// catchAccessError = true,
// catchIllegal = true,
// catchUnaligned = true,
// catchMemoryTranslationMiss = true,
// atomicEntriesCount = 2
// ),
//// memoryTranslatorPortConfig = null
// memoryTranslatorPortConfig = MemoryTranslatorPortConfig(
// portTlbSize = 6
// )
// ),
// new StaticMemoryTranslatorPlugin(
// ioRange = _(31 downto 28) === 0xF
// ),
@ -98,7 +98,7 @@ object TestsWorkspace {
ioRange = _(31 downto 28) === 0xF
),
new DecoderSimplePlugin(
catchIllegalInstruction = true
catchIllegalInstruction = false
),
new RegFilePlugin(
regFileReadyKind = plugin.ASYNC,
@ -129,11 +129,34 @@ object TestsWorkspace {
divUnrollFactor = 1
),
// new DivPlugin,
new CsrPlugin(CsrPluginConfig.all(0x80000020l).copy(deterministicInteruptionEntry = false)),
new DebugPlugin(ClockDomain.current.clone(reset = Bool().setName("debugReset"))),
new CsrPlugin(//CsrPluginConfig.all2(0x80000020l).copy(ebreakGen = true)/*
CsrPluginConfig(
catchIllegalAccess = false,
mvendorid = null,
marchid = null,
mimpid = null,
mhartid = null,
misaExtensionsInit = 0,
misaAccess = CsrAccess.READ_ONLY,
mtvecAccess = CsrAccess.WRITE_ONLY,
mtvecInit = 0x80000020l,
mepcAccess = CsrAccess.READ_WRITE,
mscratchGen = true,
mcauseAccess = CsrAccess.READ_ONLY,
mbadaddrAccess = CsrAccess.READ_ONLY,
mcycleAccess = CsrAccess.NONE,
minstretAccess = CsrAccess.NONE,
ecallGen = true,
ebreakGen = true,
wfiGenAsWait = false,
wfiGenAsNop = true,
ucycleAccess = CsrAccess.NONE
)),
// new DebugPlugin(ClockDomain.current.clone(reset = Bool().setName("debugReset"))),
new BranchPlugin(
earlyBranch = true,
catchAddressMisaligned = true
catchAddressMisaligned = true,
fenceiGenAsAJump = true
),
new YamlPlugin("cpu0.yaml")
)

View file

@ -44,6 +44,9 @@ case class VexRiscvConfig(){
object SRC_USE_SUB_LESS extends Stageable(Bool)
object SRC_LESS_UNSIGNED extends Stageable(Bool)
object HAS_SIDE_EFFECT extends Stageable(Bool)
//Formal verification purposes
object FORMAL_HALT extends Stageable(Bool)
object FORMAL_PC_NEXT extends Stageable(UInt(32 bits))
@ -56,7 +59,7 @@ case class VexRiscvConfig(){
object Src1CtrlEnum extends SpinalEnum(binarySequential){
val RS, IMU, PC_INCREMENT = newElement() //IMU, IMZ IMJB
val RS, IMU, PC_INCREMENT, URS1 = newElement() //IMU, IMZ IMJB
}
object Src2CtrlEnum extends SpinalEnum(binarySequential){

View file

@ -146,7 +146,7 @@ object BrieyConfig{
mcycleAccess = CsrAccess.NONE,
minstretAccess = CsrAccess.NONE,
ecallGen = false,
wfiGen = false,
wfiGenAsWait = false,
ucycleAccess = CsrAccess.NONE
)
),

View file

@ -15,7 +15,8 @@ object FormalSimple extends App{
new HaltOnExceptionPlugin,
new IBusSimplePlugin(
resetVector = 0x00000000l,
relaxedPcCalculation = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = DYNAMIC_TARGET,
catchAccessFault = false,
compressedGen = true

View file

@ -18,7 +18,8 @@ object GenCustomCsr extends App{
new CustomCsrDemoGpioPlugin,
new IBusSimplePlugin(
resetVector = 0x00000000l,
relaxedPcCalculation = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = NONE,
catchAccessFault = false,
compressedGen = false

View file

@ -14,7 +14,8 @@ object GenCustomSimdAdd extends App{
new SimdAddPlugin,
new IBusSimplePlugin(
resetVector = 0x00000000l,
relaxedPcCalculation = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = NONE,
catchAccessFault = false,
compressedGen = false

View file

@ -13,7 +13,8 @@ object GenDeterministicVex extends App{
plugins = List(
new IBusSimplePlugin(
resetVector = 0x80000000l,
relaxedPcCalculation = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = STATIC,
catchAccessFault = true,
compressedGen = false

View file

@ -12,10 +12,6 @@ object GenFull extends App{
def cpu() = new VexRiscv(
config = VexRiscvConfig(
plugins = List(
new PcManagerSimplePlugin(
resetVector = 0x80000000l,
relaxedPcCalculation = false
),
new IBusCachedPlugin(
prediction = DYNAMIC,
config = InstructionCacheConfig(
@ -63,7 +59,7 @@ object GenFull extends App{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(

View file

@ -55,7 +55,7 @@ object GenFullNoMmu extends App{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(

View file

@ -56,7 +56,7 @@ object GenFullNoMmuMaxPerf extends App{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(

View file

@ -14,7 +14,8 @@ object GenFullNoMmuNoCache extends App{
plugins = List(
new IBusSimplePlugin(
resetVector = 0x80000000l,
relaxedPcCalculation = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = STATIC,
catchAccessFault = false,
compressedGen = false
@ -28,7 +29,7 @@ object GenFullNoMmuNoCache extends App{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(

View file

@ -14,7 +14,8 @@ object GenNoCacheNoMmuMaxPerf extends App{
plugins = List(
new IBusSimplePlugin(
resetVector = 0x80000000l,
relaxedPcCalculation = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = DYNAMIC_TARGET,
historyRamSizeLog2 = 8,
catchAccessFault = true,
@ -33,7 +34,7 @@ object GenNoCacheNoMmuMaxPerf extends App{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(

View file

@ -13,7 +13,8 @@ object GenSmallAndProductive extends App{
plugins = List(
new IBusSimplePlugin(
resetVector = 0x80000000l,
relaxedPcCalculation = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = NONE,
catchAccessFault = false,
compressedGen = false
@ -28,7 +29,7 @@ object GenSmallAndProductive extends App{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(

View file

@ -42,7 +42,7 @@ object GenSmallAndProductiveICache extends App{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(

View file

@ -13,7 +13,8 @@ object GenSmallest extends App{
plugins = List(
new IBusSimplePlugin(
resetVector = 0x80000000l,
relaxedPcCalculation = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = NONE,
catchAccessFault = false,
compressedGen = false
@ -28,7 +29,7 @@ object GenSmallest extends App{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(

View file

@ -18,7 +18,8 @@ object GenSmallestNoCsr extends App{
new IBusSimplePlugin(
resetVector = 0x80000000l,
relaxedPcCalculation = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = NONE,
catchAccessFault = false,
compressedGen = false
@ -33,7 +34,7 @@ object GenSmallestNoCsr extends App{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true,
zeroBoot = false,
writeRfInMemoryStage = false
),
new IntAluPlugin,

View file

@ -60,7 +60,7 @@ object MuraxConfig{
pipelineApbBridge = true,
gpioWidth = 32,
xipConfig = ifGen(withXip) (SpiDdrMasterCtrl.MemoryMappingParameters(
SpiDdrMasterCtrl.Parameters(8, 12, SpiDdrParameter(2, 1)).addAllMods(),
SpiDdrMasterCtrl.Parameters(8, 12, SpiDdrParameter(2, 2, 1)).addFullDuplex(0,1,false),
cmdFifoDepth = 32,
rspFifoDepth = 32,
xip = SpiDdrMasterCtrl.XipBusParameters(addressWidth = 24, dataWidth = 32)
@ -69,7 +69,8 @@ object MuraxConfig{
cpuPlugins = ArrayBuffer( //DebugPlugin added by the toplevel
new IBusSimplePlugin(
resetVector = if(withXip) 0xF001E000l else 0x80000000l,
relaxedPcCalculation = true,
cmdForkOnSecondStage = true,
cmdForkPersistence = withXip, //Required by the Xip controller
prediction = NONE,
catchAccessFault = false,
compressedGen = false
@ -79,7 +80,7 @@ object MuraxConfig{
catchAccessFault = false,
earlyInjection = false
),
new CsrPlugin(CsrPluginConfig.smallest(mtvecInit = if(withXip) 0xE0040020l else 0x80000000l)),
new CsrPlugin(CsrPluginConfig.smallest(mtvecInit = if(withXip) 0xE0040020l else 0x80000020l)),
new DecoderSimplePlugin(
catchIllegalInstruction = false
),
@ -227,7 +228,7 @@ case class Murax(config : MuraxConfig) extends Component{
val externalInterrupt = False
for(plugin <- cpu.plugins) plugin match{
case plugin : IBusSimplePlugin =>
mainBusArbiter.io.iBus.cmd <> plugin.iBus.cmd.halfPipe() //TODO !!
mainBusArbiter.io.iBus.cmd <> plugin.iBus.cmd
mainBusArbiter.io.iBus.rsp <> plugin.iBus.rsp
case plugin : DBusSimplePlugin => {
if(!pipelineDBus)
@ -496,7 +497,8 @@ object MuraxDhrystoneReadyMulDivStatic{
)
config.cpuPlugins += new IBusSimplePlugin(
resetVector = 0x80000000l,
relaxedPcCalculation = true,
cmdForkOnSecondStage = true,
cmdForkPersistence = false,
prediction = STATIC,
catchAccessFault = false,
compressedGen = false

View file

@ -31,6 +31,11 @@ case class SimpleBus(config : SimpleBusConfig) extends Bundle with IMasterSlave
master(cmd)
slave(rsp)
}
def resizableAddress() : this.type = {
cmd.address.addTag(tagAutoResize)
this
}
}
class MuraxMasterArbiter(simpleBusConfig : SimpleBusConfig) extends Component{

View file

@ -102,19 +102,30 @@ object VexRiscvSynthesisBench {
val rtls = List(smallestNoCsr, smallest, smallAndProductive, smallAndProductiveWithICache, fullNoMmuNoCache, noCacheNoMmuMaxPerf, fullNoMmuMaxPerf, fullNoMmu, full)
//val rtls = List(smallestNoCsr)
// val rtls = List(smallestNoCsr, smallest, smallAndProductive, smallAndProductiveWithICache)
// val rtls = List(smallAndProductive, smallAndProductiveWithICache, fullNoMmuMaxPerf, fullNoMmu, full)
// val rtls = List(smallAndProductive, full)
// val rtls = List(fullNoMmu)
val targets = XilinxStdTargets(
vivadoArtix7Path = "/eda/Xilinx/Vivado/2017.2/bin"
) ++ AlteraStdTargets(
quartusCycloneIVPath = "/eda/intelFPGA_lite/17.0/quartus/bin",
quartusCycloneVPath = "/eda/intelFPGA_lite/17.0/quartus/bin"
) ++ IcestormStdTargets()
) ++ IcestormStdTargets().take(1)
// val targets = IcestormStdTargets()
Bench(rtls, targets, "/eda/tmp/")
// val targets = XilinxStdTargets(
// vivadoArtix7Path = "/eda/Xilinx/Vivado/2017.2/bin"
// )
// val targets = AlteraStdTargets(
// quartusCycloneIVPath = "/eda/intelFPGA_lite/17.0/quartus/bin",
// quartusCycloneVPath = null
// )
// val targets = IcestormStdTargets()
Bench(rtls, targets, "/eda/tmp")
}
}
@ -173,7 +184,7 @@ object MuraxSynthesisBench {
val rtls = List(murax, muraxFast)
val targets = IcestormStdTargets() ++ XilinxStdTargets(
val targets = IcestormStdTargets().take(1) ++ XilinxStdTargets(
vivadoArtix7Path = "/eda/Xilinx/Vivado/2017.2/bin"
) ++ AlteraStdTargets(
quartusCycloneIVPath = "/eda/intelFPGA_lite/17.0/quartus/bin/",

View file

@ -28,7 +28,8 @@ object VexRiscvAvalonForSim{
plugins = List(
new IBusSimplePlugin(
resetVector = 0x00000000l,
relaxedPcCalculation = false,
cmdForkOnSecondStage = false,
cmdForkPersistence = false,
prediction = STATIC,
catchAccessFault = false,
compressedGen = false
@ -82,7 +83,7 @@ object VexRiscvAvalonForSim{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(
@ -124,7 +125,7 @@ object VexRiscvAvalonForSim{
mcycleAccess = CsrAccess.NONE,
minstretAccess = CsrAccess.NONE,
ecallGen = false,
wfiGen = false,
wfiGenAsWait = false,
ucycleAccess = CsrAccess.NONE
)
),

View file

@ -80,7 +80,7 @@ object VexRiscvAvalonWithIntegratedJtag{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(
@ -122,7 +122,7 @@ object VexRiscvAvalonWithIntegratedJtag{
mcycleAccess = CsrAccess.NONE,
minstretAccess = CsrAccess.NONE,
ecallGen = false,
wfiGen = false,
wfiGenAsWait = false,
ucycleAccess = CsrAccess.NONE
)
),

View file

@ -123,7 +123,7 @@ object VexRiscvAxi4WithIntegratedJtag{
mcycleAccess = CsrAccess.NONE,
minstretAccess = CsrAccess.NONE,
ecallGen = false,
wfiGen = false,
wfiGenAsWait = false,
ucycleAccess = CsrAccess.NONE
)
),

View file

@ -79,7 +79,7 @@ object VexRiscvCachedWishboneForSim{
),
new RegFilePlugin(
regFileReadyKind = plugin.SYNC,
zeroBoot = true
zeroBoot = false
),
new IntAluPlugin,
new SrcPlugin(

View file

@ -48,16 +48,19 @@ trait PredictionInterface{
def askDecodePrediction() : DecodePredictionBus
}
class BranchPlugin(earlyBranch : Boolean,
catchAddressMisaligned : Boolean = false) extends Plugin[VexRiscv] with PredictionInterface{
catchAddressMisaligned : Boolean = false,
fenceiGenAsAJump : Boolean = false) extends Plugin[VexRiscv] with PredictionInterface{
def catchAddressMisalignedForReal = catchAddressMisaligned && !pipeline(RVC_GEN)
lazy val branchStage = if(earlyBranch) pipeline.execute else pipeline.memory
object BRANCH_CALC extends Stageable(UInt(32 bits))
object BRANCH_DO extends Stageable(Bool)
object BRANCH_COND_RESULT extends Stageable(Bool)
// object PREDICTION_HAD_BRANCHED extends Stageable(Bool)
object IS_FENCEI extends Stageable(Bool)
var jumpInterface : Flow[UInt] = null
var predictionJumpInterface : Flow[UInt] = null
@ -82,55 +85,73 @@ class BranchPlugin(earlyBranch : Boolean,
override def setup(pipeline: VexRiscv): Unit = {
import Riscv._
import pipeline.config._
val decoderService = pipeline.service(classOf[DecoderService])
import IntAluPlugin._
val bActions = List[(Stageable[_ <: BaseType],Any)](
SRC1_CTRL -> Src1CtrlEnum.RS,
SRC2_CTRL -> Src2CtrlEnum.RS,
SRC_USE_SUB_LESS -> True,
RS1_USE -> True,
RS2_USE -> True
RS2_USE -> True,
HAS_SIDE_EFFECT -> True
)
val jActions = List[(Stageable[_ <: BaseType],Any)](
SRC1_CTRL -> Src1CtrlEnum.PC_INCREMENT,
SRC2_CTRL -> Src2CtrlEnum.PC,
SRC_USE_SUB_LESS -> False,
REGFILE_WRITE_VALID -> True
REGFILE_WRITE_VALID -> True,
HAS_SIDE_EFFECT -> True
)
import IntAluPlugin._
val decoderService = pipeline.service(classOf[DecoderService])
decoderService.addDefault(BRANCH_CTRL, BranchCtrlEnum.INC)
val rvc = pipeline(RVC_GEN)
decoderService.add(List(
JAL(rvc) -> (jActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.JAL, ALU_CTRL -> AluCtrlEnum.ADD_SUB)),
JALR -> (jActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.JALR, ALU_CTRL -> AluCtrlEnum.ADD_SUB, RS1_USE -> True)),
BEQ(rvc) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B)),
BNE(rvc) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B)),
BLT(rvc) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B, SRC_LESS_UNSIGNED -> False)),
BGE(rvc) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B, SRC_LESS_UNSIGNED -> False)),
BLTU(rvc) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B, SRC_LESS_UNSIGNED -> True)),
BGEU(rvc) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B, SRC_LESS_UNSIGNED -> True))
JAL(true) -> (jActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.JAL, ALU_CTRL -> AluCtrlEnum.ADD_SUB)),
JALR -> (jActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.JALR, ALU_CTRL -> AluCtrlEnum.ADD_SUB, RS1_USE -> True)),
BEQ(true) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B)),
BNE(true) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B)),
BLT(true) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B, SRC_LESS_UNSIGNED -> False)),
BGE(true) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B, SRC_LESS_UNSIGNED -> False)),
BLTU(true) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B, SRC_LESS_UNSIGNED -> True)),
BGEU(true) -> (bActions ++ List(BRANCH_CTRL -> BranchCtrlEnum.B, SRC_LESS_UNSIGNED -> True))
))
if(fenceiGenAsAJump) {
decoderService.addDefault(IS_FENCEI, False)
decoderService.add(List(
FENCEI -> (List(IS_FENCEI -> True,HAS_SIDE_EFFECT -> True, BRANCH_CTRL -> BranchCtrlEnum.JAL))
))
}
val pcManagerService = pipeline.service(classOf[JumpService])
jumpInterface = pcManagerService.createJumpInterface(branchStage)
if (catchAddressMisaligned) {
if (catchAddressMisalignedForReal) {
val exceptionService = pipeline.service(classOf[ExceptionService])
branchExceptionPort = exceptionService.newExceptionPort(branchStage)
}
}
override def build(pipeline: VexRiscv): Unit = (fetchPrediction,decodePrediction) match {
case (null, null) => buildWithoutPrediction(pipeline)
case (_ , null) => buildFetchPrediction(pipeline)
case (null, _) => buildDecodePrediction(pipeline)
// case `DYNAMIC` => buildWithPrediction(pipeline)
// case `DYNAMIC_TARGET` => buildDynamicTargetPrediction(pipeline)
override def build(pipeline: VexRiscv): Unit = {
(fetchPrediction,decodePrediction) match {
case (null, null) => buildWithoutPrediction(pipeline)
case (_ , null) => buildFetchPrediction(pipeline)
case (null, _) => buildDecodePrediction(pipeline)
}
if(fenceiGenAsAJump) {
import pipeline._
import pipeline.config._
when(decode.input(IS_FENCEI)) {
decode.output(INSTRUCTION)(12) := False
decode.output(INSTRUCTION)(22) := True
}
execute.arbitration.haltByOther setWhen(execute.arbitration.isValid && execute.input(IS_FENCEI) && List(memory,writeBack).map(_.arbitration.isValid).orR)
}
}
def buildWithoutPrediction(pipeline: VexRiscv): Unit = {
@ -165,7 +186,7 @@ class BranchPlugin(earlyBranch : Boolean,
).asUInt
val branchAdder = branch_src1 + branch_src2
insert(BRANCH_CALC) := branchAdder(31 downto 1) @@ ((input(BRANCH_CTRL) === BranchCtrlEnum.JALR) ? False | branchAdder(0))
insert(BRANCH_CALC) := branchAdder(31 downto 1) @@ "0"
}
//Apply branchs (JAL,JALR, Bxx)
@ -178,8 +199,8 @@ class BranchPlugin(earlyBranch : Boolean,
stages(indexOf(branchStage) - 1).arbitration.flushAll := True
}
if(catchAddressMisaligned) { //TODO conflict with instruction cache two stage
branchExceptionPort.valid := arbitration.isValid && input(BRANCH_DO) && (if(pipeline(RVC_GEN)) jumpInterface.payload(0 downto 0) =/= 0 else jumpInterface.payload(1 downto 0) =/= 0)
if(catchAddressMisalignedForReal) {
branchExceptionPort.valid := arbitration.isValid && input(BRANCH_DO) && jumpInterface.payload(1)
branchExceptionPort.code := 0
branchExceptionPort.badAddr := jumpInterface.payload
}
@ -196,7 +217,7 @@ class BranchPlugin(earlyBranch : Boolean,
decode plug new Area {
import decode._
insert(PREDICTION_HAD_BRANCHED) := decodePrediction.cmd.hadBranch
insert(PREDICTION_HAD_BRANCHED) := (if(fenceiGenAsAJump) decodePrediction.cmd.hadBranch && !decode.input(IS_FENCEI) else decodePrediction.cmd.hadBranch)
}
//Do real branch calculation
@ -218,10 +239,16 @@ class BranchPlugin(earlyBranch : Boolean,
)
)
insert(BRANCH_DO) := input(PREDICTION_HAD_BRANCHED) =/= input(BRANCH_COND_RESULT)
val imm = IMM(input(INSTRUCTION))
val missAlignedTarget = if(pipeline(RVC_GEN)) False else (input(BRANCH_COND_RESULT) && input(BRANCH_CTRL).mux(
BranchCtrlEnum.JALR -> (imm.i_sext(1) ^ input(RS1)(1)),
BranchCtrlEnum.JAL -> imm.j_sext(1),
default -> imm.b_sext(1)
))
insert(BRANCH_DO) := input(PREDICTION_HAD_BRANCHED) =/= input(BRANCH_COND_RESULT) || missAlignedTarget
//Calculation of the branch target / correction
val imm = IMM(input(INSTRUCTION))
val branch_src1,branch_src2 = UInt(32 bits)
switch(input(BRANCH_CTRL)){
is(BranchCtrlEnum.JALR){
@ -230,11 +257,14 @@ class BranchPlugin(earlyBranch : Boolean,
}
default{
branch_src1 := input(PC)
branch_src2 := (input(PREDICTION_HAD_BRANCHED) ? (if(pipeline(RVC_GEN)) Mux(input(IS_RVC), B(2), B(4)) else B(4)).resized | imm.b_sext).asUInt
branch_src2 := ((input(BRANCH_CTRL) === BranchCtrlEnum.JAL) ? imm.j_sext | imm.b_sext).asUInt
when(input(PREDICTION_HAD_BRANCHED) && ! missAlignedTarget){
branch_src2 := (if(pipeline(RVC_GEN)) Mux(input(IS_RVC), B(2), B(4)) else B(4)).asUInt.resized
}
}
}
val branchAdder = branch_src1 + branch_src2
insert(BRANCH_CALC) := branchAdder(31 downto 1) @@ ((input(BRANCH_CTRL) === BranchCtrlEnum.JALR) ? False | branchAdder(0))
insert(BRANCH_CALC) := branchAdder(31 downto 1) @@ "0"
}
@ -249,8 +279,8 @@ class BranchPlugin(earlyBranch : Boolean,
stages(indexOf(branchStage) - 1).arbitration.flushAll := True
}
if(catchAddressMisaligned) {
val unalignedJump = input(BRANCH_DO) && (if(pipeline(RVC_GEN)) input(BRANCH_CALC)(0 downto 0) =/= 0 else input(BRANCH_CALC)(1 downto 0) =/= 0)
if(catchAddressMisalignedForReal) {
val unalignedJump = input(BRANCH_DO) && input(BRANCH_CALC)(1)
branchExceptionPort.valid := arbitration.isValid && unalignedJump
branchExceptionPort.code := 0
branchExceptionPort.badAddr := input(BRANCH_CALC) //pipeline.stages(pipeline.indexOf(branchStage)-1).input
@ -298,7 +328,7 @@ class BranchPlugin(earlyBranch : Boolean,
).asUInt
val branchAdder = branch_src1 + branch_src2
insert(BRANCH_CALC) := branchAdder(31 downto 1) @@ ((input(BRANCH_CTRL) === BranchCtrlEnum.JALR) ? False | branchAdder(0))
insert(BRANCH_CALC) := branchAdder(31 downto 1) @@ "0"
insert(NEXT_PC) := input(PC) + (if(pipeline(RVC_GEN)) ((input(IS_RVC)) ? U(2) | U(4)) else 4)
}
@ -325,8 +355,8 @@ class BranchPlugin(earlyBranch : Boolean,
stages(indexOf(branchStage) - 1).arbitration.flushAll := True
}
if(catchAddressMisaligned) {
branchExceptionPort.valid := arbitration.isValid && input(BRANCH_DO) && (if(pipeline(RVC_GEN)) input(BRANCH_CALC)(0 downto 0) =/= 0 else input(BRANCH_CALC)(1 downto 0) =/= 0)
if(catchAddressMisalignedForReal) {
branchExceptionPort.valid := arbitration.isValid && input(BRANCH_DO) && input(BRANCH_CALC)(1)
branchExceptionPort.code := 0
branchExceptionPort.badAddr := input(BRANCH_CALC)
}

View file

@ -4,6 +4,7 @@ import spinal.core._
import spinal.lib._
import vexriscv._
import vexriscv.Riscv._
import vexriscv.plugin.IntAluPlugin.{ALU_BITWISE_CTRL, ALU_CTRL, AluBitwiseCtrlEnum, AluCtrlEnum}
import scala.collection.mutable.ArrayBuffer
import scala.collection.mutable
@ -48,14 +49,27 @@ case class CsrPluginConfig(
mcycleAccess : CsrAccess,
minstretAccess : CsrAccess,
ucycleAccess : CsrAccess,
wfiGen : Boolean,
wfiGenAsWait : Boolean,
ecallGen : Boolean,
noCsrAlu : Boolean = false,
wfiGenAsNop : Boolean = false,
ebreakGen : Boolean = false,
supervisorGen : Boolean = false,
sscratchGen : Boolean = false,
stvecAccess : CsrAccess = CsrAccess.NONE,
sepcAccess : CsrAccess = CsrAccess.NONE,
scauseAccess : CsrAccess = CsrAccess.NONE,
sbadaddrAccess : CsrAccess = CsrAccess.NONE,
scycleAccess : CsrAccess = CsrAccess.NONE,
sinstretAccess : CsrAccess = CsrAccess.NONE,
satpAccess : CsrAccess = CsrAccess.NONE,
medelegAccess : CsrAccess = CsrAccess.NONE,
midelegAccess : CsrAccess = CsrAccess.NONE,
deterministicInteruptionEntry : Boolean = false //Only used for simulatation purposes
){
assert(!ucycleAccess.canWrite)
def noException = this.copy(ecallGen = false, catchIllegalAccess = false)
def noException = this.copy(ecallGen = false, ebreakGen = false, catchIllegalAccess = false)
}
object CsrPluginConfig{
@ -80,10 +94,42 @@ object CsrPluginConfig{
mcycleAccess = CsrAccess.READ_WRITE,
minstretAccess = CsrAccess.READ_WRITE,
ecallGen = true,
wfiGen = true,
wfiGenAsWait = true,
ucycleAccess = CsrAccess.READ_ONLY
)
def all2(mtvecInit : BigInt) : CsrPluginConfig = CsrPluginConfig(
catchIllegalAccess = true,
mvendorid = 11,
marchid = 22,
mimpid = 33,
mhartid = 0,
misaExtensionsInit = 66,
misaAccess = CsrAccess.READ_WRITE,
mtvecAccess = CsrAccess.READ_WRITE,
mtvecInit = mtvecInit,
mepcAccess = CsrAccess.READ_WRITE,
mscratchGen = true,
mcauseAccess = CsrAccess.READ_WRITE,
mbadaddrAccess = CsrAccess.READ_WRITE,
mcycleAccess = CsrAccess.READ_WRITE,
minstretAccess = CsrAccess.READ_WRITE,
ecallGen = true,
wfiGenAsWait = true,
ucycleAccess = CsrAccess.READ_ONLY,
supervisorGen = true,
sscratchGen = true,
stvecAccess = CsrAccess.READ_WRITE,
sepcAccess = CsrAccess.READ_WRITE,
scauseAccess = CsrAccess.READ_WRITE,
sbadaddrAccess = CsrAccess.READ_WRITE,
scycleAccess = CsrAccess.READ_WRITE,
sinstretAccess = CsrAccess.READ_WRITE,
satpAccess = CsrAccess.READ_WRITE,
medelegAccess = CsrAccess.READ_WRITE,
midelegAccess = CsrAccess.READ_WRITE
)
def small(mtvecInit : BigInt) = CsrPluginConfig(
catchIllegalAccess = false,
mvendorid = null,
@ -101,7 +147,7 @@ object CsrPluginConfig{
mcycleAccess = CsrAccess.NONE,
minstretAccess = CsrAccess.NONE,
ecallGen = false,
wfiGen = false,
wfiGenAsWait = false,
ucycleAccess = CsrAccess.NONE
)
@ -122,7 +168,7 @@ object CsrPluginConfig{
mcycleAccess = CsrAccess.NONE,
minstretAccess = CsrAccess.NONE,
ecallGen = false,
wfiGen = false,
wfiGenAsWait = false,
ucycleAccess = CsrAccess.NONE
)
@ -182,6 +228,8 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
import config._
import CsrAccess._
assert(!(wfiGenAsNop && wfiGenAsWait))
def xlen = 32
//Mannage ExceptionService calls
@ -194,18 +242,18 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
}
var jumpInterface : Flow[UInt] = null
var pluginExceptionPort : Flow[ExceptionCause] = null
var timerInterrupt : Bool = null
var externalInterrupt : Bool = null
var privilege : Bits = null
var timerInterrupt, externalInterrupt : Bool = null
var timerInterruptS, externalInterruptS : Bool = null
var privilege : UInt = null
var selfException : Flow[ExceptionCause] = null
var contextSwitching : Bool = null
override def isContextSwitching = contextSwitching
object EnvCtrlEnum extends SpinalEnum(binarySequential){
val NONE, EBREAK, MRET= newElement()
val WFI = if(wfiGen) newElement() else null
val NONE, XRET = newElement()
val WFI = if(wfiGenAsWait) newElement() else null
val ECALL = if(ecallGen) newElement() else null
val EBREAK = if(ebreakGen) newElement() else null
}
object ENV_CTRL extends Stageable(EnvCtrlEnum())
@ -233,16 +281,18 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
val defaultCsrActions = List[(Stageable[_ <: BaseType],Any)](
IS_CSR -> True,
REGFILE_WRITE_VALID -> True,
BYPASSABLE_EXECUTE_STAGE -> True,
BYPASSABLE_MEMORY_STAGE -> True
)
ALU_BITWISE_CTRL -> AluBitwiseCtrlEnum.SRC1,
ALU_CTRL -> AluCtrlEnum.BITWISE
) ++ (if(catchIllegalAccess) List(HAS_SIDE_EFFECT -> True) else Nil)
val nonImmediatActions = defaultCsrActions ++ List(
SRC1_CTRL -> Src1CtrlEnum.RS,
RS1_USE -> True
)
val immediatActions = defaultCsrActions
val immediatActions = defaultCsrActions ++ List(
SRC1_CTRL -> Src1CtrlEnum.URS1
)
val decoderService = pipeline.service(classOf[DecoderService])
@ -255,30 +305,31 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
CSRRWI -> immediatActions,
CSRRSI -> immediatActions,
CSRRCI -> immediatActions,
// EBREAK -> (defaultEnv ++ List(ENV_CTRL -> EnvCtrlEnum.EBREAK)), //TODO
MRET -> (defaultEnv ++ List(ENV_CTRL -> EnvCtrlEnum.MRET))
MRET -> (defaultEnv ++ List(ENV_CTRL -> EnvCtrlEnum.XRET, HAS_SIDE_EFFECT -> True)),
SRET -> (defaultEnv ++ List(ENV_CTRL -> EnvCtrlEnum.XRET, HAS_SIDE_EFFECT -> True))
))
if(wfiGen) decoderService.add(WFI, defaultEnv ++ List(ENV_CTRL -> EnvCtrlEnum.WFI))
if(ecallGen) decoderService.add(ECALL, defaultEnv ++ List(ENV_CTRL -> EnvCtrlEnum.ECALL))
if(wfiGenAsWait) decoderService.add(WFI, defaultEnv ++ List(ENV_CTRL -> EnvCtrlEnum.WFI))
if(wfiGenAsNop) decoderService.add(WFI, Nil)
if(ecallGen) decoderService.add(ECALL, defaultEnv ++ List(ENV_CTRL -> EnvCtrlEnum.ECALL, HAS_SIDE_EFFECT -> True))
if(ebreakGen) decoderService.add(EBREAK, defaultEnv ++ List(ENV_CTRL -> EnvCtrlEnum.EBREAK, HAS_SIDE_EFFECT -> True))
val pcManagerService = pipeline.service(classOf[JumpService])
jumpInterface = pcManagerService.createJumpInterface(pipeline.writeBack)
jumpInterface.valid := False
jumpInterface.payload.assignDontCare()
if(ecallGen) {
pluginExceptionPort = newExceptionPort(pipeline.execute)
pluginExceptionPort.valid := False
pluginExceptionPort.payload.assignDontCare()
}
timerInterrupt = in Bool() setName("timerInterrupt")
externalInterrupt = in Bool() setName("externalInterrupt")
if(supervisorGen){
timerInterruptS = in Bool() setName("timerInterruptS")
externalInterruptS = in Bool() setName("externalInterruptS")
}
contextSwitching = Bool().setName("contextSwitching")
privilege = RegInit(B"11")
privilege = RegInit(U"11").setName("CsrPlugin_privilege")
if(catchIllegalAccess)
if(catchIllegalAccess || ecallGen || ebreakGen)
selfException = newExceptionPort(pipeline.execute)
allowInterrupts = True
@ -295,21 +346,22 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
import pipeline.config._
val fetcher = service(classOf[IBusFetcher])
pipeline plug new Area{
//Define CSR mapping utilities
implicit class CsrAccessPimper(csrAccess : CsrAccess){
def apply(csrAddress : Int, thats : (Int, Data)*) : Unit = {
if(csrAccess == `WRITE_ONLY` || csrAccess == `READ_WRITE`) for(that <- thats) csrMapping.w(csrAddress,that._1, that._2)
if(csrAccess == `READ_ONLY` || csrAccess == `READ_WRITE`) for(that <- thats) csrMapping.r(csrAddress,that._1, that._2)
}
def apply(csrAddress : Int, that : Data) : Unit = {
if(csrAccess == `WRITE_ONLY` || csrAccess == `READ_WRITE`) csrMapping.w(csrAddress, 0, that)
if(csrAccess == `READ_ONLY` || csrAccess == `READ_WRITE`) csrMapping.r(csrAddress, 0, that)
}
//Define CSR mapping utilities
implicit class CsrAccessPimper(csrAccess : CsrAccess){
def apply(csrAddress : Int, thats : (Int, Data)*) : Unit = {
if(csrAccess == `WRITE_ONLY` || csrAccess == `READ_WRITE`) for(that <- thats) csrMapping.w(csrAddress,that._1, that._2)
if(csrAccess == `READ_ONLY` || csrAccess == `READ_WRITE`) for(that <- thats) csrMapping.r(csrAddress,that._1, that._2)
}
def apply(csrAddress : Int, that : Data) : Unit = {
if(csrAccess == `WRITE_ONLY` || csrAccess == `READ_WRITE`) csrMapping.w(csrAddress, 0, that)
if(csrAccess == `READ_ONLY` || csrAccess == `READ_WRITE`) csrMapping.r(csrAddress, 0, that)
}
}
val machineCsr = pipeline plug new Area{
//Define CSR registers
// Status => MXR, SUM, TVM, TW, TSE ?
val misa = new Area{
val base = Reg(UInt(2 bits)) init(U"01") allowUnsetRegToAvoidLatch
val extensions = Reg(Bits(26 bits)) init(misaExtensionsInit) allowUnsetRegToAvoidLatch
@ -319,7 +371,7 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
val mepc = Reg(UInt(xlen bits))
val mstatus = new Area{
val MIE, MPIE = RegInit(False)
val MPP = RegInit(B"11")
val MPP = RegInit(U"11")
}
val mip = new Area{
val MEIP = RegNext(externalInterrupt) init(False)
@ -334,38 +386,98 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
val interrupt = Reg(Bool)
val exceptionCode = Reg(UInt(exceptionCodeWidth bits))
}
val mbadaddr = Reg(UInt(xlen bits))
val mtval = Reg(UInt(xlen bits))
val mcycle = Reg(UInt(64 bits)) randBoot()
val minstret = Reg(UInt(64 bits)) randBoot()
//Define CSR registers accessibility
val medeleg = Reg(Bits(32 bits)) init(0)
val mideleg = Reg(Bits(32 bits)) init(0)
if(mvendorid != null) READ_ONLY(CSR.MVENDORID, U(mvendorid))
if(marchid != null) READ_ONLY(CSR.MARCHID , U(marchid ))
if(mimpid != null) READ_ONLY(CSR.MIMPID , U(mimpid ))
if(mhartid != null) READ_ONLY(CSR.MHARTID , U(mhartid ))
misaAccess(CSR.MISA, xlen-2 -> misa.base , 0 -> misa.extensions)
//Machine CSR
misaAccess(CSR.MISA, xlen-2 -> misa.base , 0 -> misa.extensions)
READ_WRITE(CSR.MSTATUS,11 -> mstatus.MPP, 7 -> mstatus.MPIE, 3 -> mstatus.MIE)
READ_ONLY(CSR.MIP, 11 -> mip.MEIP, 7 -> mip.MTIP)
READ_WRITE(CSR.MIP, 3 -> mip.MSIP)
READ_WRITE(CSR.MIE, 11 -> mie.MEIE, 7 -> mie.MTIE, 3 -> mie.MSIE)
mtvecAccess(CSR.MTVEC, mtvec)
mepcAccess(CSR.MEPC, mepc)
READ_WRITE(CSR.MSTATUS,11 -> mstatus.MPP, 7 -> mstatus.MPIE, 3 -> mstatus.MIE)
if(mscratchGen) READ_WRITE(CSR.MSCRATCH, mscratch)
mcauseAccess(CSR.MCAUSE, xlen-1 -> mcause.interrupt, 0 -> mcause.exceptionCode)
mbadaddrAccess(CSR.MBADADDR, mbadaddr)
mbadaddrAccess(CSR.MBADADDR, mtval)
mcycleAccess(CSR.MCYCLE, mcycle(31 downto 0))
mcycleAccess(CSR.MCYCLEH, mcycle(63 downto 32))
minstretAccess(CSR.MINSTRET, minstret(31 downto 0))
minstretAccess(CSR.MINSTRETH, minstret(63 downto 32))
medelegAccess(CSR.MEDELEG, medeleg)
midelegAccess(CSR.MIDELEG, mideleg)
//User CSR
ucycleAccess(CSR.UCYCLE, mcycle(31 downto 0))
ucycleAccess(CSR.UCYCLEH, mcycle(31 downto 0))
}
val supervisorCsr = ifGen(supervisorGen) {
pipeline plug new Area {
val sstatus = new Area {
val SIE, SPIE = RegInit(False)
val SPP = RegInit(U"1")
}
val sip = new Area {
val SEIP = RegNext(externalInterruptS) init (False)
val STIP = RegNext(timerInterruptS) init (False)
val SSIP = RegInit(False)
}
val sie = new Area {
val SEIE, STIE, SSIE = RegInit(False)
}
val stvec = Reg(UInt(xlen bits)).allowUnsetRegToAvoidLatch
val sscratch = if (sscratchGen) Reg(Bits(xlen bits)) else null
val scause = new Area {
val interrupt = Reg(Bool)
val exceptionCode = Reg(UInt(exceptionCodeWidth bits))
}
val stval = Reg(UInt(xlen bits))
val sepc = Reg(UInt(xlen bits))
val satp = new Area {
val PPN = Reg(Bits(22 bits))
val ASID = Reg(Bits(9 bits))
val MODE = Reg(Bits(1 bits))
}
//Supervisor CSR
WRITE_ONLY(CSR.SSTATUS,8 -> sstatus.SPP, 5 -> sstatus.SPIE, 1 -> sstatus.SIE)
for(offset <- List(0, 0x200)) {
READ_ONLY(CSR.SSTATUS,8 -> sstatus.SPP, 5 -> sstatus.SPIE, 1 -> sstatus.SIE)
}
READ_ONLY(CSR.SIP, 9 -> sip.SEIP, 5 -> sip.STIP)
READ_WRITE(CSR.SIP, 1 -> sip.SSIP)
READ_WRITE(CSR.SIE, 9 -> sie.SEIE, 5 -> sie.STIE, 1 -> sie.SSIE)
stvecAccess(CSR.STVEC, stvec)
sepcAccess(CSR.SEPC, sepc)
if(sscratchGen) READ_WRITE(CSR.SSCRATCH, sscratch)
scauseAccess(CSR.SCAUSE, xlen-1 -> scause.interrupt, 0 -> scause.exceptionCode)
sbadaddrAccess(CSR.SBADADDR, stval)
satpAccess(CSR.SATP, 31 -> satp.MODE, 22 -> satp.ASID, 0 -> satp.PPN)
}
}
pipeline plug new Area{
import machineCsr._
import supervisorCsr._
//Manage counters
@ -374,6 +486,51 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
minstret := minstret + 1
}
case class InterruptSource(cond : Bool, id : Int)
case class InterruptModel(privilege : Int, privilegeCond : Bool, sources : ArrayBuffer[InterruptSource])
val interruptModel = ArrayBuffer[InterruptModel]()
if(supervisorGen) interruptModel += InterruptModel(1, sstatus.SIE && privilege <= "01", ArrayBuffer(
InterruptSource(sip.STIP && sie.STIE, 5),
InterruptSource(sip.SSIP && sie.SSIE, 1),
InterruptSource(sip.SEIP && sie.SEIE, 9)
))
interruptModel += InterruptModel(3, mstatus.MIE , ArrayBuffer(
InterruptSource(mip.MTIP && mie.MTIE, 7),
InterruptSource(mip.MSIP && mie.MSIE, 3),
InterruptSource(mip.MEIP && mie.MEIE, 11)
))
case class DelegatorModel(value : Bits, source : Int, target : Int)
def solveDelegators(delegators : Seq[DelegatorModel], id : Int, lowerBound : Int): UInt = {
val filtredDelegators = delegators.filter(_.target >= lowerBound)
val ret = U(lowerBound, 2 bits)
for(d <- filtredDelegators){
when(!d.value(id)){
ret := d.source
}
}
ret
}
def solveDelegators(delegators : Seq[DelegatorModel], id : UInt, lowerBound : UInt): UInt = {
if(delegators.isEmpty) return CombInit(lowerBound)
val ret = U(delegators.last.target, 2 bits)
for(d <- delegators){
when(!d.value(id) || d.target < lowerBound){
ret := d.source
}
}
ret
}
val interruptDelegators = ArrayBuffer[DelegatorModel]()
if(midelegAccess.canWrite) interruptDelegators += DelegatorModel(mideleg,3, 1)
val exceptionDelegators = ArrayBuffer[DelegatorModel]()
if(medelegAccess.canWrite) exceptionDelegators += DelegatorModel(medeleg,3, 1)
val mepcCaptureStage = if(exceptionPortsInfos.nonEmpty) writeBack else decode
@ -383,6 +540,7 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
val exceptionValids = Vec(stages.map(s => Bool().setPartialName(s.getName())))
val exceptionValidsRegs = Vec(stages.map(s => Reg(Bool).init(False).setPartialName(s.getName()))).allowUnsetRegToAvoidLatch
val exceptionContext = Reg(ExceptionCause())
val exceptionTargetPrivilege = solveDelegators(exceptionDelegators, exceptionContext.code, privilege)
val groupedByStage = exceptionPortsInfos.map(_.stage).distinct.map(s => {
val stagePortsInfos = exceptionPortsInfos.filter(_.stage == s).sortWith(_.priority > _.priority)
@ -405,60 +563,61 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
exceptionValids := exceptionValidsRegs
for(portInfo <- sortedByStage; port = portInfo.port ; stage = portInfo.stage; stageId = indexOf(portInfo.stage)) {
when(port.valid) {
// if(indexOf(stage) != 0) stages(indexOf(stage) - 1).arbitration.flushAll := True
if(indexOf(stage) != 0) stages(indexOf(stage) - 1).arbitration.flushAll := True
stage.arbitration.removeIt := True
exceptionValids(stageId) := True
when(!exceptionValidsRegs.takeRight(stages.length-stageId-1).fold(False)(_ || _)) {
exceptionContext := port.payload
}
exceptionContext := port.payload
}
}
for(stageId <- firstStageIndexWithExceptionPort until stages.length; stage = stages(stageId) ){
when(stage.arbitration.isFlushed){
exceptionValids(stageId) := False
}
val previousStage = if(stageId == firstStageIndexWithExceptionPort) stage else stages(stageId-1)
when(!stage.arbitration.isStuck){
exceptionValidsRegs(stageId) := (if(stageId != firstStageIndexWithExceptionPort) exceptionValids(stageId-1) && !previousStage.arbitration.isStuck else False)
}otherwise{
exceptionValidsRegs(stageId) := exceptionValids(stageId)
if(stage != stages.last)
exceptionValidsRegs(stageId) := exceptionValids(stageId)
else
exceptionValidsRegs(stageId) := False
}
if(stage != stages.last) when(stage.arbitration.isFlushed){
exceptionValids(stageId) := False
}
}
if(stageId != 0){
when(exceptionValidsRegs(stageId)){
stages(stageId-1).arbitration.haltByOther := True
}
}
when(exceptionValids.orR){
fetcher.haltIt()
fetcher.flushIt()
}
} else null
val interruptRequest = ((mip.MSIP && mie.MSIE) || (mip.MEIP && mie.MEIE) || (mip.MTIP && mie.MTIE)) && mstatus.MIE
val interrupt = interruptRequest && allowInterrupts
val exception = if(exceptionPortCtrl != null) exceptionPortCtrl.exceptionValids.last && allowException else False
val writeBackWasWfi = if(wfiGen) RegNext(writeBack.arbitration.isFiring && writeBack.input(ENV_CTRL) === EnvCtrlEnum.WFI) init(False) else False
val interrupt = False
val interruptCode = UInt(4 bits).assignDontCare().addTag(Verilator.public)
val interruptTargetPrivilege = UInt(2 bits).assignDontCare()
val deteriministicLogic = if(deterministicInteruptionEntry) new Area{
val counter = Reg(UInt(4 bits)) init(0)
when(!interruptRequest || !mstatus.MIE){
counter := 0
} otherwise {
when(counter < 6){
when(writeBack.arbitration.isFiring){
counter := counter + 1
}
for(model <- interruptModel){
when(model.privilegeCond){
when(model.sources.map(_.cond).orR){
interrupt := True
}
val counterPlusPending = counter + CountOne(stages.tail.map(_.arbitration.isValid))
when(counterPlusPending < 6){
inhibateInterrupts()
for(source <- model.sources){
when(source.cond){
interruptCode := source.id
interruptTargetPrivilege := solveDelegators(interruptDelegators, source.id, model.privilege)
}
}
}
}
interrupt.clearWhen(!allowInterrupts)
val exception = if(exceptionPortCtrl != null) exceptionPortCtrl.exceptionValids.last && allowException else False
val writeBackWasWfi = if(wfiGenAsWait) RegNext(writeBack.arbitration.isFiring && writeBack.input(ENV_CTRL) === EnvCtrlEnum.WFI) init(False) else False
//Used to make the pipeline empty softly (for interrupts)
@ -472,54 +631,88 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
}
//Interrupt/Exception entry logic
val interruptCode = ((mip.MEIP && mie.MEIE) ? U(11) | ((mip.MSIP && mie.MSIE) ? U(3) | U(7))).addTag(Verilator.public)
val interruptJump = Bool.addTag(Verilator.public)
interruptJump := interrupt && pipelineLiberator.done
val hadException = RegNext(exception) init(False)
val targetPrivilege = CombInit(interruptTargetPrivilege)
if(exceptionPortCtrl != null) when(hadException) {
targetPrivilege := exceptionPortCtrl.exceptionTargetPrivilege
}
val trapCause = CombInit(interruptCode)
if(exceptionPortCtrl != null) when( hadException){
trapCause := exceptionPortCtrl.exceptionContext.code
}
when(exception || interruptJump){
switch(privilege){
if(supervisorGen) is(1) {
sepc := mepcCaptureStage.input(PC)
}
is(3){
mepc := mepcCaptureStage.input(PC)
}
}
}
when(hadException || (interruptJump && !exception)){
jumpInterface.valid := True
jumpInterface.payload := mtvec
memory.arbitration.flushAll := True
if(exceptionPortCtrl != null) exceptionPortCtrl.exceptionValidsRegs.last := False
mstatus.MIE := False
mstatus.MPIE := mstatus.MIE
mstatus.MPP := privilege
mepc := mepcCaptureStage.input(PC)
mcause.interrupt := interruptJump
mcause.exceptionCode := interruptCode
switch(targetPrivilege){
if(supervisorGen) is(1) {
sstatus.SIE := False
sstatus.SPIE := sstatus.SIE
sstatus.SPP := privilege(0 downto 0)
scause.interrupt := !hadException
scause.exceptionCode := trapCause
if (exceptionPortCtrl != null) {
stval := exceptionPortCtrl.exceptionContext.badAddr
}
}
is(3){
mstatus.MIE := False
mstatus.MPIE := mstatus.MIE
mstatus.MPP := privilege
mcause.interrupt := !hadException
mcause.exceptionCode := trapCause
if(exceptionPortCtrl != null) {
mtval := exceptionPortCtrl.exceptionContext.badAddr
}
}
}
}
when(RegNext(exception)){
mbadaddr := (if(exceptionPortCtrl != null) exceptionPortCtrl.exceptionContext.badAddr else U(0))
mcause.exceptionCode := (if(exceptionPortCtrl != null) exceptionPortCtrl.exceptionContext.code else U(0))
}
//Manage MRET instructions
when(execute.arbitration.isValid && execute.input(ENV_CTRL) === EnvCtrlEnum.MRET) {
when(memory.arbitration.isValid || writeBack.arbitration.isValid){
execute.arbitration.haltItself := True
} otherwise {
writeBack plug new Area{
import writeBack._
def previousStage = memory
//Manage MRET / SRET instructions
when(arbitration.isValid && input(ENV_CTRL) === EnvCtrlEnum.XRET) {
jumpInterface.payload := mepc
jumpInterface.valid := True
jumpInterface.payload := mepc
decode.arbitration.flushAll := True
mstatus.MIE := mstatus.MPIE
privilege := mstatus.MPP
previousStage.arbitration.flushAll := True
switch(input(INSTRUCTION)(29 downto 28)){
is(3){
mstatus.MIE := mstatus.MPIE
mstatus.MPP := U"00"
mstatus.MPIE := True
privilege := mstatus.MPP
}
if(supervisorGen) is(1){
sstatus.SIE := sstatus.SPIE
sstatus.SPP := U"0"
sstatus.SPIE := True
privilege := U"0" @@ sstatus.SPP
}
}
}
}
//Manage ECALL instructions
if(ecallGen) when(execute.arbitration.isValid && execute.input(ENV_CTRL) === EnvCtrlEnum.ECALL){
pluginExceptionPort.valid := True
pluginExceptionPort.code := 11
}
//Manage WFI instructions
if(wfiGen) when(execute.arbitration.isValid && execute.input(ENV_CTRL) === EnvCtrlEnum.WFI){
when(!interrupt){
execute.arbitration.haltItself := True
}
}
contextSwitching := jumpInterface.valid
@ -533,40 +726,76 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
|| (input(INSTRUCTION)(14 downto 13) === "11" && imm.z === 0)
)
insert(CSR_READ_OPCODE) := input(INSTRUCTION)(13 downto 7) =/= B"0100000"
//Assure that the CSR access are in the execute stage when there is nothing left in memory/writeback stages to avoid exception hazard
arbitration.haltItself setWhen(arbitration.isValid && input(IS_CSR) && (execute.arbitration.isValid || memory.arbitration.isValid))
}
execute plug new Area{
import execute._
//Manage WFI instructions
if(wfiGenAsWait) when(arbitration.isValid && input(ENV_CTRL) === EnvCtrlEnum.WFI){
when(!interrupt){
arbitration.haltItself := True
}
}
}
decode.arbitration.haltByOther setWhen(List(execute,memory).map(s => s.arbitration.isValid && s.input(ENV_CTRL) === EnvCtrlEnum.XRET).orR)
execute plug new Area {
import execute._
def previousStage = decode
val blockedBySideEffects = List(memory, writeBack).map(s => s.arbitration.isValid).orR // && s.input(HAS_SIDE_EFFECT) to improve be less pessimistic
val illegalAccess = arbitration.isValid && input(IS_CSR)
if(catchIllegalAccess) {
val illegalInstruction = arbitration.isValid && privilege === 0 && (input(ENV_CTRL) === EnvCtrlEnum.EBREAK || input(ENV_CTRL) === EnvCtrlEnum.MRET)
val illegalInstruction = False
if(selfException != null) {
selfException.valid := illegalAccess || illegalInstruction
selfException.code := 2
selfException.badAddr.assignDontCare()
}
//Manage MRET / SRET instructions
when(arbitration.isValid && input(ENV_CTRL) === EnvCtrlEnum.XRET) {
//TODO check MPP value too
when(input(INSTRUCTION)(29 downto 28).asUInt =/= privilege) {
illegalInstruction := True
}
}
//Manage ECALL instructions
if(ecallGen) when(arbitration.isValid && input(ENV_CTRL) === EnvCtrlEnum.ECALL){
selfException.valid := True
selfException.code := 11
}
if(ebreakGen) when(arbitration.isValid && input(ENV_CTRL) === EnvCtrlEnum.EBREAK){
selfException.valid := True
selfException.code := 3
}
val imm = IMM(input(INSTRUCTION))
val writeSrc = input(INSTRUCTION)(14) ? imm.z.asBits.resized | input(SRC1)
val writeSrc = input(REGFILE_WRITE_DATA)
val readData = B(0, 32 bits)
def readDataReg = memory.input(REGFILE_WRITE_DATA) //PIPE OPT
val readDataRegValid = Reg(Bool) setWhen(arbitration.isValid) clearWhen(!arbitration.isStuck)
val writeData = input(INSTRUCTION)(13).mux(
// def readDataReg = memory.input(REGFILE_WRITE_DATA) //PIPE OPT
// val readDataRegValid = Reg(Bool) setWhen(arbitration.isValid) clearWhen(!arbitration.isStuck)
val writeData = if(noCsrAlu) writeSrc else input(INSTRUCTION)(13).mux(
False -> writeSrc,
True -> Mux(input(INSTRUCTION)(12), readDataReg & ~writeSrc, readDataReg | writeSrc)
True -> Mux(input(INSTRUCTION)(12), readData & ~writeSrc, readData | writeSrc)
)
val writeInstruction = arbitration.isValid && input(IS_CSR) && input(CSR_WRITE_OPCODE)
val readInstruction = arbitration.isValid && input(IS_CSR) && input(CSR_READ_OPCODE)
arbitration.haltItself setWhen(writeInstruction && !readDataRegValid)
val writeEnable = writeInstruction && readDataRegValid
val readEnable = readInstruction && !readDataRegValid
// arbitration.haltItself setWhen(writeInstruction && !readDataRegValid)
val writeEnable = writeInstruction && ! arbitration.isStuck// && readDataRegValid
val readEnable = readInstruction && ! arbitration.isStuck// && !readDataRegValid
when(arbitration.isValid && input(IS_CSR)) {
output(REGFILE_WRITE_DATA) := readData
arbitration.haltItself setWhen(blockedBySideEffects)
}
//Translation of the csrMapping into real logic
@ -608,7 +837,7 @@ class CsrPlugin(config : CsrPluginConfig) extends Plugin[VexRiscv] with Exceptio
}
}
}
illegalAccess setWhen(privilege.asUInt < csrAddress(9 downto 8).asUInt)
illegalAccess setWhen(privilege < csrAddress(9 downto 8).asUInt)
})
}
}

View file

@ -53,7 +53,7 @@ class DBusCachedPlugin(config : DataCacheConfig,
BYPASSABLE_MEMORY_STAGE -> False,
MEMORY_WR -> False,
MEMORY_MANAGMENT -> False
)
) ++ (if(catchSomething) List(HAS_SIDE_EFFECT -> True) else Nil)
val storeActions = stdActions ++ List(
SRC2_CTRL -> Src2CtrlEnum.IMS,

View file

@ -182,7 +182,10 @@ case class DBusSimpleBus() extends Bundle with IMasterSlave{
}
class DBusSimplePlugin(catchAddressMisaligned : Boolean = false, catchAccessFault : Boolean = false, earlyInjection : Boolean = false) extends Plugin[VexRiscv]{
class DBusSimplePlugin(catchAddressMisaligned : Boolean = false,
catchAccessFault : Boolean = false,
earlyInjection : Boolean = false,/*, idempotentRegions : (UInt) => Bool = (x) => False*/
onlyLoadWords : Boolean = false) extends Plugin[VexRiscv]{
var dBus : DBusSimpleBus = null
@ -211,7 +214,7 @@ class DBusSimplePlugin(catchAddressMisaligned : Boolean = false, catchAccessFaul
REGFILE_WRITE_VALID -> True,
BYPASSABLE_EXECUTE_STAGE -> False,
BYPASSABLE_MEMORY_STAGE -> Bool(earlyInjection)
)
) ++ (if(catchAccessFault || catchAddressMisaligned) List(HAS_SIDE_EFFECT -> True) else Nil)
val storeActions = stdActions ++ List(
SRC2_CTRL -> Src2CtrlEnum.IMS,
@ -220,7 +223,7 @@ class DBusSimplePlugin(catchAddressMisaligned : Boolean = false, catchAccessFaul
decoderService.addDefault(MEMORY_ENABLE, False)
decoderService.add(
List(LB, LH, LW, LBU, LHU, LWU).map(_ -> loadActions) ++
(if(onlyLoadWords) List(LW) else List(LB, LH, LW, LBU, LHU, LWU)).map(_ -> loadActions) ++
List(SB, SH, SW).map(_ -> storeActions)
)
@ -329,7 +332,7 @@ class DBusSimplePlugin(catchAddressMisaligned : Boolean = false, catchAccessFaul
)
when(arbitration.isValid && input(MEMORY_ENABLE)) {
output(REGFILE_WRITE_DATA) := rspFormated
output(REGFILE_WRITE_DATA) := (if(!onlyLoadWords) rspFormated else input(MEMORY_READ_DATA))
}
if(!earlyInjection)

View file

@ -197,11 +197,11 @@ class DebugPlugin(val debugClockDomain : ClockDomain, hardwareBreakpointCount :
decode.insert(DO_EBREAK) := !haltIt && (decode.input(IS_EBREAK) || hardwareBreakpoints.map(hb => hb.valid && hb.pc === (execute.input(PC) >> 1)).foldLeft(False)(_ || _))
when(execute.arbitration.isValid && execute.input(DO_EBREAK)){
iBusFetcher.flushIt()
iBusFetcher.haltIt()
execute.arbitration.haltByOther := True
busReadDataReg := execute.input(PC).asBits
when(List(memory, writeBack).map(_.arbitration.isValid).orR === False){
iBusFetcher.flushIt()
iBusFetcher.haltIt()
execute.arbitration.flushAll := True
haltIt := True
haltedByBreak := True

View file

@ -11,12 +11,12 @@ import scala.collection.mutable.ArrayBuffer
//TODO val killLastStage = jump.pcLoad.valid || decode.arbitration.isRemoved
// DBUSSimple check memory halt execute optimization
abstract class IBusFetcherImpl(val catchAccessFault : Boolean,
val resetVector : BigInt,
abstract class IBusFetcherImpl(val resetVector : BigInt,
val keepPcPlus4 : Boolean,
val decodePcGen : Boolean,
val compressedGen : Boolean,
val cmdToRspStageCount : Int,
val pcRegReusedForSecondStage : Boolean,
val injectorReadyCutGen : Boolean,
val prediction : BranchPrediction,
val historyRamSizeLog2 : Int,
@ -27,7 +27,7 @@ abstract class IBusFetcherImpl(val catchAccessFault : Boolean,
var dynamicTargetFailureCorrection : Flow[UInt] = null
var externalResetVector : UInt = null
assert(cmdToRspStageCount >= 1)
assert(!(cmdToRspStageCount == 1 && !injectorStage))
// assert(!(cmdToRspStageCount == 1 && !injectorStage))
assert(!(compressedGen && !decodePcGen))
var fetcherHalt : Bool = null
var fetcherflushIt : Bool = null
@ -61,9 +61,6 @@ abstract class IBusFetcherImpl(val catchAccessFault : Boolean,
fetcherHalt = False
fetcherflushIt = False
incomingInstruction = False
if(catchAccessFault) {
val exceptionService = pipeline.service(classOf[ExceptionService])
}
if(resetVector == null) externalResetVector = in(UInt(32 bits).setName("externalResetVector"))
pipeline(RVC_GEN) = compressedGen
@ -114,10 +111,22 @@ abstract class IBusFetcherImpl(val catchAccessFault : Boolean,
//PC calculation without Jump
val pcReg = Reg(UInt(32 bits)) init(if(resetVector != null) resetVector else externalResetVector) addAttribute(Verilator.public)
val inc = RegInit(False)
val propagatePc = False
val pc = pcReg + (inc ## B"00").asUInt
val samplePcNext = False
if(compressedGen) {
when(inc) {
pc(1) := False
}
}
when(propagatePc){
samplePcNext := True
inc := False
}
if(predictionPcLoad != null) {
when(predictionPcLoad.valid) {
inc := False
@ -142,17 +151,12 @@ abstract class IBusFetcherImpl(val catchAccessFault : Boolean,
pcReg := pc
}
if(compressedGen) {
when(preOutput.fire) {
pcReg(1 downto 0) := 0
when(pc(1)){
inc := True
}
}
}
pc(0) := False
if(!pipeline(RVC_GEN)) pc(1) := False
preOutput.valid := RegNext(True) init (False)
preOutput.payload := pc
}
val decodePc = ifGen(decodePcGen)(new Area {
@ -217,7 +221,13 @@ abstract class IBusFetcherImpl(val catchAccessFault : Boolean,
}
for((s,sNext) <- (stages, stages.tail).zipped) {
sNext.input << s.output.m2sPipeWithFlush(flush, s != stages.head, collapsBubble = false)
if(s == stages.head && pcRegReusedForSecondStage) {
sNext.input.arbitrationFrom(s.output.toEvent().m2sPipeWithFlush(flush, s != stages.head, collapsBubble = false))
sNext.input.payload := fetchPc.pcReg
fetchPc.propagatePc setWhen(sNext.input.fire)
} else {
sNext.input << s.output.m2sPipeWithFlush(flush, s != stages.head, collapsBubble = false)
}
}
//
@ -310,7 +320,7 @@ abstract class IBusFetcherImpl(val catchAccessFault : Boolean,
}).tail
}
val nextPcCalc = if (decodePcGen) {
val nextPcCalc = if (decodePcGen) new Area{
val valids = pcUpdatedGen(True, False :: List(execute, memory, writeBack).map(_.arbitration.isStuck), true)
pcValids := Vec(valids.takeRight(4))
} else new Area{

View file

@ -7,6 +7,13 @@ import spinal.lib._
class HazardPessimisticPlugin() extends Plugin[VexRiscv] {
import Riscv._
override def setup(pipeline: VexRiscv): Unit = {
import pipeline.config._
val decoderService = pipeline.service(classOf[DecoderService])
decoderService.addDefault(HAS_SIDE_EFFECT, False)
}
override def build(pipeline: VexRiscv): Unit = {
import pipeline._
import pipeline.config._

View file

@ -4,7 +4,6 @@ import vexriscv._
import spinal.core._
import spinal.lib._
class HazardSimplePlugin(bypassExecute : Boolean = false,
bypassMemory: Boolean = false,
bypassWriteBack: Boolean = false,
@ -13,6 +12,14 @@ class HazardSimplePlugin(bypassExecute : Boolean = false,
pessimisticWriteRegFile : Boolean = false,
pessimisticAddressMatch : Boolean = false) extends Plugin[VexRiscv] {
import Riscv._
override def setup(pipeline: VexRiscv): Unit = {
import pipeline.config._
val decoderService = pipeline.service(classOf[DecoderService])
decoderService.addDefault(HAS_SIDE_EFFECT, False) //TODO implement it in each plugin
}
override def build(pipeline: VexRiscv): Unit = {
import pipeline._
import pipeline.config._

View file

@ -18,12 +18,12 @@ class IBusCachedPlugin(resetVector : BigInt = 0x80000000l,
config : InstructionCacheConfig,
memoryTranslatorPortConfig : Any = null,
injectorStage : Boolean = false) extends IBusFetcherImpl(
catchAccessFault = config.catchAccessFault,
resetVector = resetVector,
keepPcPlus4 = keepPcPlus4,
decodePcGen = compressedGen,
compressedGen = compressedGen,
cmdToRspStageCount = (if(config.twoCycleCache) 2 else 1) + (if(relaxedPcCalculation) 1 else 0),
pcRegReusedForSecondStage = true,
injectorReadyCutGen = false,
prediction = prediction,
historyRamSizeLog2 = historyRamSizeLog2,

View file

@ -62,7 +62,7 @@ object IBusSimpleBus{
}
case class IBusSimpleBus(interfaceKeepData : Boolean) extends Bundle with IMasterSlave {
case class IBusSimpleBus(interfaceKeepData : Boolean = false) extends Bundle with IMasterSlave {
var cmd = Stream(IBusSimpleCmd())
var rsp = Flow(IBusSimpleRsp())
@ -143,8 +143,9 @@ case class IBusSimpleBus(interfaceKeepData : Boolean) extends Bundle with IMaste
class IBusSimplePlugin(resetVector : BigInt,
cmdForkOnSecondStage : Boolean,
cmdForkPersistence : Boolean,
catchAccessFault : Boolean = false,
relaxedPcCalculation : Boolean = false,
prediction : BranchPrediction = NONE,
historyRamSizeLog2 : Int = 10,
keepPcPlus4 : Boolean = false,
@ -152,23 +153,22 @@ class IBusSimplePlugin(resetVector : BigInt,
busLatencyMin : Int = 1,
pendingMax : Int = 7,
injectorStage : Boolean = true,
relaxedBusCmdValid : Boolean = false
rspHoldValue : Boolean = false
) extends IBusFetcherImpl(
catchAccessFault = catchAccessFault,
resetVector = resetVector,
keepPcPlus4 = keepPcPlus4,
decodePcGen = compressedGen,
compressedGen = compressedGen,
cmdToRspStageCount = busLatencyMin + (if(relaxedPcCalculation) 1 else 0),
cmdToRspStageCount = busLatencyMin + (if(cmdForkOnSecondStage) 1 else 0),
pcRegReusedForSecondStage = !(cmdForkOnSecondStage && cmdForkPersistence),
injectorReadyCutGen = false,
prediction = prediction,
historyRamSizeLog2 = historyRamSizeLog2,
injectorStage = injectorStage){
assert(!(prediction == DYNAMIC_TARGET && relaxedBusCmdValid), "IBusSimplePlugin doesn't allow dynamic_target prediction and relaxedBusCmdValid together")
assert(!relaxedBusCmdValid)
var iBus : IBusSimpleBus = null
var decodeExceptionPort : Flow[ExceptionCause] = null
if(rspHoldValue) assert(busLatencyMin == 1)
override def setup(pipeline: VexRiscv): Unit = {
super.setup(pipeline)
@ -185,72 +185,66 @@ class IBusSimplePlugin(resetVector : BigInt,
import pipeline.config._
pipeline plug new FetchArea(pipeline) {
var cmd = Stream(IBusSimpleCmd())
iBus.cmd << (if(cmdForkPersistence && !cmdForkOnSecondStage) cmd.s2mPipe() else cmd)
//Avoid sending to many iBus cmd
val pendingCmd = Reg(UInt(log2Up(pendingMax + 1) bits)) init (0)
val pendingCmdNext = pendingCmd + iBus.cmd.fire.asUInt - iBus.rsp.fire.asUInt
val pendingCmdNext = pendingCmd + cmd.fire.asUInt - iBus.rsp.fire.asUInt
pendingCmd := pendingCmdNext
val cmd = if(relaxedBusCmdValid) new Area {
???
/* def inputStage = iBusRsp.stages(0)
val busFork = Stream(UInt(32 bits))
val busForkedReg = RegInit(False)
if(!relaxedPcCalculation) busForkedReg clearWhen(flush)
busForkedReg setWhen(iBus.cmd.fire)
busForkedReg clearWhen(inputStage.output.ready)
if(relaxedPcCalculation) busForkedReg clearWhen(flush)
val busForked = Bool
busForked := (if(!relaxedPcCalculation) (busForkedReg && !flush) else (busForkedReg))
busFork.valid := inputStage.input.valid && !busForkedReg
busFork.payload := inputStage.input.payload
inputStage.halt setWhen()
output.valid := (inputStage.input.valid && iBus.cmd.fire) || busForked
output.payload := input.payload
input.ready := output.fire
val okBus = pendingCmd =/= pendingMax
iBus.cmd.valid := busFork.valid && okBus
iBus.cmd.pc := busFork.payload(31 downto 2) @@ "00"
busFork.ready := iBus.cmd.ready && okBus*/
} else new Area {
def stage = iBusRsp.stages(if(relaxedPcCalculation) 1 else 0)
stage.halt setWhen(stage.input.valid && (!iBus.cmd.valid || !iBus.cmd.ready))
iBus.cmd.valid := stage.input.valid && stage.output.ready && pendingCmd =/= pendingMax
iBus.cmd.pc := stage.input.payload(31 downto 2) @@ "00"
val cmdFork = if(!cmdForkPersistence || !cmdForkOnSecondStage) new Area {
//This implementation keep the cmd on the bus until it's executed or the the pipeline is flushed
def stage = iBusRsp.stages(if(cmdForkOnSecondStage) 1 else 0)
stage.halt setWhen(stage.input.valid && (!cmd.valid || !cmd.ready))
cmd.valid := stage.input.valid && stage.output.ready && pendingCmd =/= pendingMax
cmd.pc := stage.input.payload(31 downto 2) @@ "00"
} else new Area{
//This implementation keep the cmd on the bus until it's executed, even if the pipeline is flushed
def stage = iBusRsp.stages(1)
val pendingFull = pendingCmd === pendingMax
val cmdKeep = RegInit(False) setWhen(cmd.valid) clearWhen(cmd.ready)
val cmdFired = RegInit(False) setWhen(cmd.fire) clearWhen(stage.input.ready)
stage.halt setWhen(cmd.isStall || (pendingFull && !cmdFired))
cmd.valid := (stage.input.valid || cmdKeep) && !pendingFull && !cmdFired
cmd.pc := stage.input.payload(31 downto 2) @@ "00"
}
val rsp = new Area {
val rspJoin = new Area {
import iBusRsp._
//Manage flush for iBus transactions in flight
val discardCounter = Reg(UInt(log2Up(pendingMax + 1) bits)) init (0)
discardCounter := discardCounter - (iBus.rsp.fire && discardCounter =/= 0).asUInt
when(flush) {
discardCounter := (if(relaxedPcCalculation) pendingCmdNext else pendingCmd - iBus.rsp.fire.asUInt)
if(cmdForkOnSecondStage && cmdForkPersistence)
discardCounter := pendingCmd + cmd.valid.asUInt - iBus.rsp.fire.asUInt
else
discardCounter := (if(cmdForkOnSecondStage) pendingCmdNext else pendingCmd - iBus.rsp.fire.asUInt)
}
val rspBuffer = StreamFifoLowLatency(IBusSimpleRsp(), cmdToRspStageCount - (if(relaxedPcCalculation) 0 else 0))
rspBuffer.io.push << iBus.rsp.throwWhen(discardCounter =/= 0).toStream
rspBuffer.io.flush := flush
val rspBufferOutput = Stream(IBusSimpleRsp())
val rspBuffer = if(!rspHoldValue) new Area{
val c = StreamFifoLowLatency(IBusSimpleRsp(), busLatencyMin + (if(cmdForkOnSecondStage && cmdForkPersistence) 1 else 0))
c.io.push << iBus.rsp.throwWhen(discardCounter =/= 0).toStream
c.io.flush := flush
rspBufferOutput << c.io.pop
} else new Area{
rspBufferOutput << iBus.rsp.throwWhen(discardCounter =/= 0).toStream
}
val fetchRsp = FetchRsp()
fetchRsp.pc := stages.last.output.payload
fetchRsp.rsp := rspBuffer.io.pop.payload
fetchRsp.rsp.error.clearWhen(!rspBuffer.io.pop.valid) //Avoid interference with instruction injection from the debug plugin
fetchRsp.rsp := rspBufferOutput.payload
fetchRsp.rsp.error.clearWhen(!rspBufferOutput.valid) //Avoid interference with instruction injection from the debug plugin
var issueDetected = False
val join = StreamJoin(Seq(stages.last.output, rspBuffer.io.pop), fetchRsp)
stages.last.output.ready setWhen(!stages.last.output.valid)
val join = Stream(FetchRsp())
join.valid := stages.last.output.valid && rspBufferOutput.valid
join.payload := fetchRsp
stages.last.output.ready := stages.last.output.valid ? join.fire | join.ready
rspBufferOutput.ready := join.fire
output << join.haltWhen(issueDetected)
if(catchAccessFault){

View file

@ -140,7 +140,7 @@ class MulDivIterativePlugin(genMul : Boolean = true, genDiv : Boolean = true, mu
rs1 := twoComplement(rs1Extended, rs1NeedRevert).resized
rs2 := twoComplement(execute.input(RS2), rs2NeedRevert)
if(genMul) mul.counter.clear()
if(genDiv) div.needRevert := rs1NeedRevert ^ (rs2NeedRevert && !execute.input(INSTRUCTION)(13))
if(genDiv) div.needRevert := (rs1NeedRevert ^ (rs2NeedRevert && !execute.input(INSTRUCTION)(13))) && !(execute.input(RS2) === 0 && execute.input(IS_RS2_SIGNED) && !execute.input(INSTRUCTION)(13))
if(genDiv) div.counter.clear()
}
}

View file

@ -11,10 +11,14 @@ trait RegFileReadKind
object ASYNC extends RegFileReadKind
object SYNC extends RegFileReadKind
class RegFilePlugin(regFileReadyKind : RegFileReadKind,zeroBoot : Boolean = false, writeRfInMemoryStage : Boolean = false) extends Plugin[VexRiscv]{
class RegFilePlugin(regFileReadyKind : RegFileReadKind,
zeroBoot : Boolean = false,
writeRfInMemoryStage : Boolean = false,
readInExecute : Boolean = false) extends Plugin[VexRiscv]{
import Riscv._
assert(!writeRfInMemoryStage)
// assert(!writeRfInMemoryStage)
override def setup(pipeline: VexRiscv): Unit = {
import pipeline.config._
@ -33,19 +37,21 @@ class RegFilePlugin(regFileReadyKind : RegFileReadKind,zeroBoot : Boolean = fals
if(zeroBoot) regFile.init(List.fill(32)(B(0, 32 bits)))
}
//Read register file
decode plug new Area{
import decode._
//Disable rd0 write in decoding stage
when(decode.input(INSTRUCTION)(rdRange) === 0) {
decode.input(REGFILE_WRITE_VALID) := False
}
//Disable rd0 write in decoding stage
when(decode.input(INSTRUCTION)(rdRange) === 0) {
decode.input(REGFILE_WRITE_VALID) := False
}
//Read register file
val readStage = if(readInExecute) execute else decode
readStage plug new Area{
import readStage._
//read register file
val srcInstruction = regFileReadyKind match{
case `ASYNC` => input(INSTRUCTION)
case `SYNC` => input(INSTRUCTION_ANTICIPATED)
case `SYNC` if !readInExecute => input(INSTRUCTION_ANTICIPATED)
case `SYNC` if readInExecute => Mux(execute.arbitration.isStuck, execute.input(INSTRUCTION), decode.input(INSTRUCTION))
}
val regFileReadAddress1 = srcInstruction(Riscv.rs1Range).asUInt
@ -61,8 +67,9 @@ class RegFilePlugin(regFileReadyKind : RegFileReadKind,zeroBoot : Boolean = fals
}
//Write register file
(if(writeRfInMemoryStage) memory else writeBack) plug new Area {
import writeBack._
val writeStage = if(writeRfInMemoryStage) memory else writeBack
writeStage plug new Area {
import writeStage._
val regFileWrite = global.regFile.writePort.addAttribute(Verilator.public)
regFileWrite.valid := output(REGFILE_WRITE_VALID) && arbitration.isFiring
@ -74,5 +81,6 @@ class RegFilePlugin(regFileReadyKind : RegFileReadKind,zeroBoot : Boolean = fals
inputInit[Bits](REGFILE_WRITE_DATA, 0)
inputInit[Bits](INSTRUCTION, 0)
}
}
}

View file

@ -16,7 +16,8 @@ class SrcPlugin(separatedAddSub : Boolean = false, executeInsertion : Boolean =
insert(SRC1) := input(SRC1_CTRL).mux(
Src1CtrlEnum.RS -> output(RS1),
Src1CtrlEnum.PC_INCREMENT -> (if(pipeline(RVC_GEN)) Mux(input(IS_RVC), B(2), B(4)) else B(4)).resized,
Src1CtrlEnum.IMU -> imm.u.resized
Src1CtrlEnum.IMU -> imm.u.resized,
Src1CtrlEnum.URS1 -> input(INSTRUCTION)(Riscv.rs1Range).resized
)
insert(SRC2) := input(SRC2_CTRL).mux(
Src2CtrlEnum.RS -> output(RS2),

View file

@ -1,11 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.1658295653">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.1658295653" moduleId="org.eclipse.cdt.core.settings" name="Default">
<macros>
<stringMacro name="DEBUG_PLUGIN" type="VALUE_TEXT" value="no"/>
</macros>
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.980376357">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.980376357" moduleId="org.eclipse.cdt.core.settings" name="Default">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
@ -16,6 +13,35 @@
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactName="regression" buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.980376357" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.980376357.1040916561" name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.base.1338997315" name="cdt.managedbuild.toolchain.gnu.base" superClass="cdt.managedbuild.toolchain.gnu.base">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.target.gnu.platform.base.2110298829" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
<builder arguments="compile IBUS=SIMPLE DBUS=SIMPLE MMU=no DEBUG_PLUGIN=no COMPRESSED=yes REDO=0 DHRYSTONE=no FREERTOS=4 DEBUG=yes" command="make" id="cdt.managedbuild.target.gnu.builder.base.1143542178" incrementalBuildTarget="compile" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.2117481176" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1759629739" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1789548329" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.627982227" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1580295487" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.872700945" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.396729799" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base">
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.738502848" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="cdt.managedbuild.tool.gnu.assembler.base.1447216495" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1888247300" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
@ -98,40 +124,177 @@
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.980376357;cdt.managedbuild.toolchain.gnu.base.980376357.1040916561;cdt.managedbuild.tool.gnu.cpp.compiler.base.1759629739;cdt.managedbuild.tool.gnu.cpp.compiler.input.1789548329">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP"/>
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="makefileGenerator">
<runAction arguments="-E -P -v -dD" command="" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;'" command="sh" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-c 'g++ -E -P -v -dD &quot;${plugin_state_location}/specs.cpp&quot;'" command="sh" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/specs.c&quot;'" command="sh" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.980376357;cdt.managedbuild.toolchain.gnu.base.980376357.1040916561;cdt.managedbuild.tool.gnu.c.compiler.base.627982227;cdt.managedbuild.tool.gnu.c.compiler.input.1580295487">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC"/>
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.make.core.GCCStandardMakePerFileProfile">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="makefileGenerator">
<runAction arguments="-E -P -v -dD" command="" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/${specs_file}" command="gcc" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileCPP">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.cpp" command="g++" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCManagedMakePerProjectProfileC">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-E -P -v -dD ${plugin_state_location}/specs.c" command="gcc" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfile">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/${specs_file}&quot;'" command="sh" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-c 'g++ -E -P -v -dD &quot;${plugin_state_location}/specs.cpp&quot;'" command="sh" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
<profile id="org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC">
<buildOutputProvider>
<openAction enabled="true" filePath=""/>
<parser enabled="true"/>
</buildOutputProvider>
<scannerInfoProvider id="specsFile">
<runAction arguments="-c 'gcc -E -P -v -dD &quot;${plugin_state_location}/specs.c&quot;'" command="sh" useDefault="true"/>
<parser enabled="true"/>
</scannerInfoProvider>
</profile>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.1658295653" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.1658295653.303558957" name="/" resourcePath="">
<toolChain id="cdt.managedbuild.toolchain.gnu.base.797592663" name="cdt.managedbuild.toolchain.gnu.base" superClass="cdt.managedbuild.toolchain.gnu.base">
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.target.gnu.platform.base.1887805535" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
<builder autoBuildTarget="all" cleanBuildTarget="clean" enableAutoBuild="false" enableCleanBuild="true" enabledIncrementalBuild="true" id="cdt.managedbuild.target.gnu.builder.base.812669025" incrementalBuildTarget="compile REDO=1 TRACE=no MMU=no THREAD_COUNT=1 SEED=-1994661579 IBUS=CACHED COMPRESSED=yes DBUS=CACHED MUL=yes DIV=yes DHRYSTONE=no FREERTOS=yes DEBUG_PLUGIN=no" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelizationNumber="1" superClass="cdt.managedbuild.target.gnu.builder.base"/>
<tool id="cdt.managedbuild.tool.gnu.archiver.base.1064572443" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1683403468" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.976926108" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.compiler.base.1486718934" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.248855776" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
</tool>
<tool id="cdt.managedbuild.tool.gnu.c.linker.base.981383637" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base"/>
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.base.294125764" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base">
<inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1213363163" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="cdt.managedbuild.tool.gnu.assembler.base.855201444" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base">
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.2089859352" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
</tool>
</toolChain>
</folderInfo>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
<storageModule moduleId="org.eclipse.cdt.core.language.mapping"/>
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="regression.null.383037053" name="regression"/>
<project id="regression.null.704818932" name="regression"/>
</storageModule>
</cproject>

View file

@ -1,2 +1,3 @@
*.regTraceRef
/freertos.gtkw
*.cproject

View file

@ -301,6 +301,7 @@ public:
status.mpie = status.mie;
mepc = pc;
pcWrite(mtvec.base << 2);
if(interrupt) livenessInterrupt = 0;
//status.MPP := privilege
}
@ -333,7 +334,35 @@ public:
*csrPtr(csr) = value;
}
int livenessStep = 0;
int livenessInterrupt = 0;
virtual void liveness(bool mIntTimer, bool mIntExt){
livenessStep++;
bool interruptRequest = (mie.mtie && mIntTimer);
if(interruptRequest){
if(status.mie){
livenessInterrupt++;
}
} else {
livenessInterrupt = 0;
}
if(livenessStep > 1000){
cout << "Liveness step failure" << endl;
fail();
}
if(livenessInterrupt > 1000){
cout << "Liveness interrupt failure" << endl;
fail();
}
}
virtual void step() {
livenessStep = 0;
#define rd32 ((i >> 7) & 0x1F)
#define iBits(lo, len) ((i >> lo) & ((1 << len)-1))
#define iBitsSigned(lo, len) int32_t(i) << (32-lo-len) >> (32-len)
@ -379,7 +408,11 @@ public:
case 0x37:rfWrite(rd32, i & 0xFFFFF000);pcWrite(pc + 4);break; // LUI
case 0x17:rfWrite(rd32, (i & 0xFFFFF000) + pc);pcWrite(pc + 4);break; //AUIPC
case 0x6F:rfWrite(rd32, pc + 4);pcWrite(pc + (iBits(21, 10) << 1) + (iBits(20, 1) << 11) + (iBits(12, 8) << 12) + (iSign() << 20));break; //JAL
case 0x67:rfWrite(rd32, pc + 4);pcWrite((i32_rs1 + i32_i_imm) & ~1);break; //JALR
case 0x67:{
uint32_t target = (i32_rs1 + i32_i_imm) & ~1;
rfWrite(rd32, pc + 4);
pcWrite(target);
} break; //JALR
case 0x63:
switch ((i >> 12) & 0x7) {
case 0x0:if (i32_rs1 == i32_rs2)pcWrite(pc + i32_sb_imm);else pcWrite(pc + 4);break;
@ -682,7 +715,9 @@ public:
switch(periphWrites.empty() + uint32_t(periphWritesGolden.empty())*2){
case 3: periphWriteTimer = 0; break;
case 1: case 2: if(periphWriteTimer++ == 20){ cout << "periphWrite timout" << endl; fail();} break;
case 1: case 2: if(periphWriteTimer++ == 20){
cout << "periphWrite timout" << endl; fail();
} break;
case 0:
MemWrite t = periphWrites.front();
MemWrite t2 = periphWritesGolden.front();
@ -692,6 +727,7 @@ public:
}
periphWrites.pop();
periphWritesGolden.pop();
periphWriteTimer = 0;
break;
}
@ -916,6 +952,10 @@ public:
postReset();
//Sync register file initial content
for(int i = 1;i < 32;i++){
riscvRef.regs[i] = top->VexRiscv->RegFilePlugin_regFile[i];
}
resetDone = true;
#ifdef REF
@ -959,7 +999,7 @@ public:
mTime += top->VexRiscv->writeBack_arbitration_isFiring*MTIME_INSTR_FACTOR;
#endif
#endif
#ifdef CSR
#ifdef TIMER_INTERRUPT
top->timerInterrupt = mTime >= mTimeCmp ? 1 : 0;
//if(mTime == mTimeCmp) printf("SIM timer tick\n");
#endif
@ -987,7 +1027,21 @@ public:
fail();
}
if(riscvRefEnable) riscvRef.step();
if(riscvRefEnable) {
riscvRef.step();
bool mIntTimer = false;
bool mIntExt = false;
#ifdef TIMER_INTERRUPT
mIntTimer = top->timerInterrupt;
#endif
#ifdef EXTERNAL_INTERRUPT
mIntExt = top->externalInterrupt;
#endif
riscvRef.liveness(mIntTimer, mIntExt);
}
@ -2065,6 +2119,60 @@ public:
}
};
class Compliance : public Workspace{
public:
string name;
ofstream out32;
int out32Counter = 0;
Compliance(string name) : Workspace(name) {
//withRiscvRef();
loadHex("../../resources/hex/" + name + ".elf.hex");
out32.open (name + ".out32");
this->name = name;
if(name == "I-FENCE.I-01") withInstructionReadCheck = false;
}
virtual void dBusAccess(uint32_t addr,bool wr, uint32_t size,uint32_t mask, uint32_t *data, bool *error) {
Workspace::dBusAccess(addr,wr,size,mask,data,error);
if(wr && addr == 0xF00FFF2C){
out32 << hex << setw(8) << std::setfill('0') << *data;
if(++out32Counter % 4 == 0) out32 << "\n";
*error = 0;
}
}
virtual void checks(){
}
virtual void pass(){
FILE *refFile = fopen((string("../../resources/ref/") + name + ".reference_output").c_str(), "r");
fseek(refFile, 0, SEEK_END);
uint32_t refSize = ftell(refFile);
fseek(refFile, 0, SEEK_SET);
char* ref = new char[refSize];
fread(ref, 1, refSize, refFile);
out32.flush();
FILE *logFile = fopen((name + ".out32").c_str(), "r");
fseek(logFile, 0, SEEK_END);
uint32_t logSize = ftell(logFile);
fseek(logFile, 0, SEEK_SET);
char* log = new char[logSize];
fread(log, 1, logSize, logFile);
if(refSize > logSize || memcmp(log,ref,refSize))
fail();
else
Workspace::pass();
}
};
#ifdef DEBUG_PLUGIN
#include<pthread.h>
@ -2327,6 +2435,121 @@ string freeRtosTests[] = {
};
string riscvComplianceMain[] = {
"I-IO",
"I-NOP-01",
"I-LUI-01",
"I-ADD-01",
"I-ADDI-01",
"I-AND-01",
"I-ANDI-01",
"I-SUB-01",
"I-OR-01",
"I-ORI-01",
"I-XOR-01",
"I-XORI-01",
"I-SRA-01",
"I-SRAI-01",
"I-SRL-01",
"I-SRLI-01",
"I-SLL-01",
"I-SLLI-01",
"I-SLT-01",
"I-SLTI-01",
"I-SLTIU-01",
"I-SLTU-01",
"I-AUIPC-01",
"I-BEQ-01",
"I-BGE-01",
"I-BGEU-01",
"I-BLT-01",
"I-BLTU-01",
"I-BNE-01",
"I-JAL-01",
"I-JALR-01",
"I-DELAY_SLOTS-01",
"I-ENDIANESS-01",
"I-RF_size-01",
"I-RF_width-01",
"I-RF_x0-01",
};
string complianceTestMemory[] = {
"I-LB-01",
"I-LBU-01",
"I-LH-01",
"I-LHU-01",
"I-LW-01",
"I-SB-01",
"I-SH-01",
"I-SW-01"
};
string complianceTestCsr[] = {
"I-CSRRC-01",
"I-CSRRCI-01",
"I-CSRRS-01",
"I-CSRRSI-01",
"I-CSRRW-01",
"I-CSRRWI-01",
#ifndef COMPRESSED
"I-MISALIGN_JMP-01", //Only apply for non RVC cores
#endif
"I-MISALIGN_LDST-01",
"I-ECALL-01",
};
string complianceTestMul[] = {
"MUL",
"MULH",
"MULHSU",
"MULHU",
};
string complianceTestDiv[] = {
"DIV",
"DIVU",
"REM",
"REMU",
};
string complianceTestC[] = {
"C.ADD",
"C.ADDI16SP",
"C.ADDI4SPN",
"C.ADDI",
"C.AND",
"C.ANDI",
"C.BEQZ",
"C.BNEZ",
"C.JAL",
"C.JALR",
"C.J",
"C.JR",
"C.LI",
"C.LUI",
"C.LW",
"C.LWSP",
"C.MV",
"C.OR",
"C.SLLI",
"C.SRAI",
"C.SRLI",
"C.SUB",
"C.SW",
"C.SWSP",
"C.XOR",
};
struct timespec timer_start(){
struct timespec start_time;
clock_gettime(CLOCK_REALTIME, &start_time); //CLOCK_PROCESS_CPUTIME_ID
@ -2396,10 +2619,13 @@ int main(int argc, char **argv, char **env) {
for(int idx = 0;idx < 1;idx++){
#ifdef DEBUG_PLUGIN_EXTERNAL
#if defined(DEBUG_PLUGIN_EXTERNAL) || defined(RUN_HEX)
{
Workspace w("debugPluginExternal");
w.loadHex("../../resources/hex/debugPluginExternal.hex");
Workspace w("run");
#ifdef RUN_HEX
//w.loadHex("/home/spinalvm/hdl/zephyr/zephyrSpinalHdl/samples/synchronization/build/zephyr/zephyr.hex");
w.loadHex(RUN_HEX);
#endif
w.noInstructionReadCheck();
//w.setIStall(false);
//w.setDStall(false);
@ -2416,8 +2642,41 @@ int main(int argc, char **argv, char **env) {
#ifdef ISA_TEST
// redo(REDO,TestA().run();)
for(const string &name : riscvComplianceMain){
redo(REDO, Compliance(name).run();)
}
for(const string &name : complianceTestMemory){
redo(REDO, Compliance(name).run();)
}
#ifdef COMPRESSED
for(const string &name : complianceTestC){
redo(REDO, Compliance(name).run();)
}
#endif
#ifdef MUL
for(const string &name : complianceTestMul){
redo(REDO, Compliance(name).run();)
}
#endif
#ifdef DIV
for(const string &name : complianceTestDiv){
redo(REDO, Compliance(name).run();)
}
#endif
#ifdef CSR
for(const string &name : complianceTestCsr){
redo(REDO, Compliance(name).run();)
}
#endif
#ifdef FENCEI
redo(REDO, Compliance("I-FENCE.I-01").run();)
#endif
#ifdef EBREAK
redo(REDO, Compliance("I-EBREAK-01").run();)
#endif
for(const string &name : riscvTestMain){
redo(REDO,RiscvTest(name).run();)
@ -2444,7 +2703,7 @@ int main(int argc, char **argv, char **env) {
#ifdef CSR
#ifndef COMPRESSED
uint32_t machineCsrRef[] = {1,11, 2,0x80000003u, 3,0x80000007u, 4,0x8000000bu, 5,6,7,0x80000007u ,
8,6,9,6,10,4,11,4, 12,13,2, 14,2, 15,5,16,17,1 };
8,6,9,6,10,4,11,4, 12,13,0, 14,2, 15,5,16,17,1 };
redo(REDO,TestX28("machineCsr",machineCsrRef, sizeof(machineCsrRef)/4).noInstructionReadCheck()->run(10e4);)
#else
uint32_t machineCsrRef[] = {1,11, 2,0x80000003u, 3,0x80000007u, 4,0x8000000bu, 5,6,7,0x80000007u ,

View file

@ -1,4 +1,4 @@
DEBUG=yes
DEBUG?=no
IBUS?=CACHED
DBUS?=CACHED
@ -9,12 +9,15 @@ ISA_TEST?=yes
MUL?=yes
DIV?=yes
CSR?=yes
EBREAK?=no
FENCEI?=no
MMU?=yes
SEED?=no
ATOMIC?=no
NO_STALL?=no
DEBUG_PLUGIN?=STD
DEBUG_PLUGIN_EXTERNAL?=no
RUN_HEX=no
CUSTOM_SIMD_ADD?=no
CUSTOM_CSR?=no
DHRYSTONE=yes
@ -39,14 +42,35 @@ ADDCFLAGS += -CFLAGS -DTHREAD_COUNT=${THREAD_COUNT}
ifeq ($(DEBUG),yes)
ADDCFLAGS += -CFLAGS -O0 -CFLAGS -g
else
ADDCFLAGS += -CFLAGS -O3
ADDCFLAGS += -CFLAGS -O3
endif
ifneq ($(shell dplus -VV | grep timerInterrupt ../../../../VexRiscv.v -w),)
ADDCFLAGS += -CFLAGS -DTIMER_INTERRUPT
endif
ifneq ($(shell dplus -VV | grep externalInterrupt ../../../../VexRiscv.v -w),)
ADDCFLAGS += -CFLAGS -DEXTERNAL_INTERRUPT
endif
ifneq ($(RUN_HEX),no)
ADDCFLAGS += -CFLAGS -DRUN_HEX='\"$(RUN_HEX)\"'
endif
ifeq ($(COMPRESSED),yes)
ADDCFLAGS += -CFLAGS -DCOMPRESSED
endif
ifeq ($(FENCEI),yes)
ADDCFLAGS += -CFLAGS -DFENCEI
endif
ifeq ($(EBREAK),yes)
ADDCFLAGS += -CFLAGS -DEBREAK
endif
ifeq ($(DHRYSTONE),yes)
ADDCFLAGS += -CFLAGS -DDHRYSTONE
endif

View file

@ -14,6 +14,8 @@ gci.stopScript("src/test/python/gcloud/stopScript.sh")
gci.local("rm -rf archive.tar.gz; git ls-files -z | xargs -0 tar -czf archive.tar.gz")
gci.localToRemote("archive.tar.gz", "")
gci.local("cd ../SpinalHDL; rm -rf spinal.tar.gz; git ls-files -z | xargs -0 tar -czf spinal.tar.gz")
gci.localToRemote("../SpinalHDL/spinal.tar.gz", "")
gci.localToRemote("src/test/python/gcloud/run.sh", "")
gci.remote("rm -rf run.txt; setsid nohup sh run.sh &> run.txt")

View file

@ -1,9 +1,15 @@
rm -rf sbtTest.txt
rm -rf VexRiscv
rm -rf SpinalHDL
#git clone https://github.com/SpinalHDL/SpinalHDL.git -b dev
mkdir SpinalHDL
tar -xzf spinal.tar.gz -C SpinalHDL
mkdir VexRiscv
tar -xzf archive.tar.gz -C VexRiscv
cd VexRiscv
sudo git init
sudo git add *
sudo git commit -m miaou
export VEXRISCV_REGRESSION_CONFIG_COUNT=16
export VEXRISCV_REGRESSION_FREERTOS_COUNT=yes
sbt test

View file

@ -0,0 +1,334 @@
/home/spinalvm/hdl/riscv-compliance/work//C.ADD.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4201 li tp,0
800000f8: 4181 li gp,0
800000fa: 9192 add gp,gp,tp
800000fc: c00e sw gp,0(sp)
800000fe: 4481 li s1,0
80000100: 4405 li s0,1
80000102: 9426 add s0,s0,s1
80000104: c222 sw s0,4(sp)
80000106: 4601 li a2,0
80000108: fff00593 li a1,-1
8000010c: 95b2 add a1,a1,a2
8000010e: c42e sw a1,8(sp)
80000110: 4701 li a4,0
80000112: 000086b7 lui a3,0x8
80000116: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
8000011a: 96ba add a3,a3,a4
8000011c: c636 sw a3,12(sp)
8000011e: 4801 li a6,0
80000120: 67a1 lui a5,0x8
80000122: 97c2 add a5,a5,a6
80000124: c83e sw a5,16(sp)
80000126: 00001117 auipc sp,0x1
8000012a: eee10113 addi sp,sp,-274 # 80001014 <test_2_res>
8000012e: 4905 li s2,1
80000130: 4881 li a7,0
80000132: 98ca add a7,a7,s2
80000134: c046 sw a7,0(sp)
80000136: 4a05 li s4,1
80000138: 4985 li s3,1
8000013a: 99d2 add s3,s3,s4
8000013c: c24e sw s3,4(sp)
8000013e: 4b05 li s6,1
80000140: fff00a93 li s5,-1
80000144: 9ada add s5,s5,s6
80000146: c456 sw s5,8(sp)
80000148: 4c05 li s8,1
8000014a: 00008bb7 lui s7,0x8
8000014e: fffb8b93 addi s7,s7,-1 # 7fff <_start-0x7fff8001>
80000152: 9be2 add s7,s7,s8
80000154: c65e sw s7,12(sp)
80000156: 4d05 li s10,1
80000158: 6ca1 lui s9,0x8
8000015a: 9cea add s9,s9,s10
8000015c: c866 sw s9,16(sp)
8000015e: 00001117 auipc sp,0x1
80000162: eca10113 addi sp,sp,-310 # 80001028 <test_3_res>
80000166: fff00e13 li t3,-1
8000016a: 4d81 li s11,0
8000016c: 9df2 add s11,s11,t3
8000016e: c06e sw s11,0(sp)
80000170: fff00f13 li t5,-1
80000174: 4e85 li t4,1
80000176: 9efa add t4,t4,t5
80000178: c276 sw t4,4(sp)
8000017a: fff00193 li gp,-1
8000017e: fff00f93 li t6,-1
80000182: 9f8e add t6,t6,gp
80000184: c47e sw t6,8(sp)
80000186: fff00413 li s0,-1
8000018a: 00008237 lui tp,0x8
8000018e: fff20213 addi tp,tp,-1 # 7fff <_start-0x7fff8001>
80000192: 9222 add tp,tp,s0
80000194: c612 sw tp,12(sp)
80000196: fff00593 li a1,-1
8000019a: 64a1 lui s1,0x8
8000019c: 94ae add s1,s1,a1
8000019e: c826 sw s1,16(sp)
800001a0: 00001117 auipc sp,0x1
800001a4: e9c10113 addi sp,sp,-356 # 8000103c <test_4_res>
800001a8: 000086b7 lui a3,0x8
800001ac: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
800001b0: 4601 li a2,0
800001b2: 9636 add a2,a2,a3
800001b4: c032 sw a2,0(sp)
800001b6: 000087b7 lui a5,0x8
800001ba: fff78793 addi a5,a5,-1 # 7fff <_start-0x7fff8001>
800001be: 4705 li a4,1
800001c0: 973e add a4,a4,a5
800001c2: c23a sw a4,4(sp)
800001c4: 000088b7 lui a7,0x8
800001c8: fff88893 addi a7,a7,-1 # 7fff <_start-0x7fff8001>
800001cc: fff00813 li a6,-1
800001d0: 9846 add a6,a6,a7
800001d2: c442 sw a6,8(sp)
800001d4: 000089b7 lui s3,0x8
800001d8: fff98993 addi s3,s3,-1 # 7fff <_start-0x7fff8001>
800001dc: 00008937 lui s2,0x8
800001e0: fff90913 addi s2,s2,-1 # 7fff <_start-0x7fff8001>
800001e4: 994e add s2,s2,s3
800001e6: c64a sw s2,12(sp)
800001e8: 00008ab7 lui s5,0x8
800001ec: fffa8a93 addi s5,s5,-1 # 7fff <_start-0x7fff8001>
800001f0: 6a21 lui s4,0x8
800001f2: 9a56 add s4,s4,s5
800001f4: c852 sw s4,16(sp)
800001f6: 00001117 auipc sp,0x1
800001fa: e5a10113 addi sp,sp,-422 # 80001050 <test_5_res>
800001fe: 6ba1 lui s7,0x8
80000200: 4b01 li s6,0
80000202: 9b5e add s6,s6,s7
80000204: c05a sw s6,0(sp)
80000206: 6ca1 lui s9,0x8
80000208: 4c05 li s8,1
8000020a: 9c66 add s8,s8,s9
8000020c: c262 sw s8,4(sp)
8000020e: 6da1 lui s11,0x8
80000210: fff00d13 li s10,-1
80000214: 9d6e add s10,s10,s11
80000216: c46a sw s10,8(sp)
80000218: 6ea1 lui t4,0x8
8000021a: 00008e37 lui t3,0x8
8000021e: fffe0e13 addi t3,t3,-1 # 7fff <_start-0x7fff8001>
80000222: 9e76 add t3,t3,t4
80000224: c672 sw t3,12(sp)
80000226: 6fa1 lui t6,0x8
80000228: 6f21 lui t5,0x8
8000022a: 9f7e add t5,t5,t6
8000022c: c87a sw t5,16(sp)
8000022e: 00001517 auipc a0,0x1
80000232: dd250513 addi a0,a0,-558 # 80001000 <codasip_signature_start>
80000236: 00001597 auipc a1,0x1
8000023a: e3a58593 addi a1,a1,-454 # 80001070 <_end>
8000023e: f0100637 lui a2,0xf0100
80000242: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
80000246 <complience_halt_loop>:
80000246: 00b50c63 beq a0,a1,8000025e <complience_halt_break>
8000024a: 4554 lw a3,12(a0)
8000024c: c214 sw a3,0(a2)
8000024e: 4514 lw a3,8(a0)
80000250: c214 sw a3,0(a2)
80000252: 4154 lw a3,4(a0)
80000254: c214 sw a3,0(a2)
80000256: 4114 lw a3,0(a0)
80000258: c214 sw a3,0(a2)
8000025a: 0541 addi a0,a0,16
8000025c: b7ed j 80000246 <complience_halt_loop>
8000025e <complience_halt_break>:
8000025e: f0100537 lui a0,0xf0100
80000262: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000266: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,304 @@
/home/spinalvm/hdl/riscv-compliance/work//C.ADDI.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4181 li gp,0
800000f8: 0185 addi gp,gp,1
800000fa: c00e sw gp,0(sp)
800000fc: 4201 li tp,0
800000fe: 0209 addi tp,tp,2
80000100: c212 sw tp,4(sp)
80000102: 4401 li s0,0
80000104: 043d addi s0,s0,15
80000106: c422 sw s0,8(sp)
80000108: 4481 li s1,0
8000010a: 04c1 addi s1,s1,16
8000010c: c626 sw s1,12(sp)
8000010e: 4581 li a1,0
80000110: 05fd addi a1,a1,31
80000112: c82e sw a1,16(sp)
80000114: 00001117 auipc sp,0x1
80000118: f0010113 addi sp,sp,-256 # 80001014 <test_2_res>
8000011c: 4605 li a2,1
8000011e: 0605 addi a2,a2,1
80000120: c032 sw a2,0(sp)
80000122: 4685 li a3,1
80000124: 0689 addi a3,a3,2
80000126: c236 sw a3,4(sp)
80000128: 4705 li a4,1
8000012a: 073d addi a4,a4,15
8000012c: c43a sw a4,8(sp)
8000012e: 4785 li a5,1
80000130: 07c1 addi a5,a5,16
80000132: c63e sw a5,12(sp)
80000134: 4805 li a6,1
80000136: 087d addi a6,a6,31
80000138: c842 sw a6,16(sp)
8000013a: 00001117 auipc sp,0x1
8000013e: eee10113 addi sp,sp,-274 # 80001028 <test_3_res>
80000142: fff00893 li a7,-1
80000146: 0885 addi a7,a7,1
80000148: c046 sw a7,0(sp)
8000014a: fff00913 li s2,-1
8000014e: 0909 addi s2,s2,2
80000150: c24a sw s2,4(sp)
80000152: fff00993 li s3,-1
80000156: 09bd addi s3,s3,15
80000158: c44e sw s3,8(sp)
8000015a: fff00a13 li s4,-1
8000015e: 0a41 addi s4,s4,16
80000160: c652 sw s4,12(sp)
80000162: fff00a93 li s5,-1
80000166: 0afd addi s5,s5,31
80000168: c856 sw s5,16(sp)
8000016a: 00001117 auipc sp,0x1
8000016e: ed210113 addi sp,sp,-302 # 8000103c <test_4_res>
80000172: 00080b37 lui s6,0x80
80000176: fffb0b13 addi s6,s6,-1 # 7ffff <_start-0x7ff80001>
8000017a: 0b05 addi s6,s6,1
8000017c: c05a sw s6,0(sp)
8000017e: 00080bb7 lui s7,0x80
80000182: fffb8b93 addi s7,s7,-1 # 7ffff <_start-0x7ff80001>
80000186: 0b89 addi s7,s7,2
80000188: c25e sw s7,4(sp)
8000018a: 00080c37 lui s8,0x80
8000018e: fffc0c13 addi s8,s8,-1 # 7ffff <_start-0x7ff80001>
80000192: 0c3d addi s8,s8,15
80000194: c462 sw s8,8(sp)
80000196: 00080cb7 lui s9,0x80
8000019a: fffc8c93 addi s9,s9,-1 # 7ffff <_start-0x7ff80001>
8000019e: 0cc1 addi s9,s9,16
800001a0: c666 sw s9,12(sp)
800001a2: 00080d37 lui s10,0x80
800001a6: fffd0d13 addi s10,s10,-1 # 7ffff <_start-0x7ff80001>
800001aa: 0d7d addi s10,s10,31
800001ac: c86a sw s10,16(sp)
800001ae: 00001117 auipc sp,0x1
800001b2: ea210113 addi sp,sp,-350 # 80001050 <test_5_res>
800001b6: 00080db7 lui s11,0x80
800001ba: 0d85 addi s11,s11,1
800001bc: c06e sw s11,0(sp)
800001be: 00080e37 lui t3,0x80
800001c2: 0e09 addi t3,t3,2
800001c4: c272 sw t3,4(sp)
800001c6: 00080eb7 lui t4,0x80
800001ca: 0ebd addi t4,t4,15
800001cc: c476 sw t4,8(sp)
800001ce: 00080f37 lui t5,0x80
800001d2: 0f41 addi t5,t5,16
800001d4: c67a sw t5,12(sp)
800001d6: 00080fb7 lui t6,0x80
800001da: 0ffd addi t6,t6,31
800001dc: c87e sw t6,16(sp)
800001de: 00001517 auipc a0,0x1
800001e2: e2250513 addi a0,a0,-478 # 80001000 <codasip_signature_start>
800001e6: 00001597 auipc a1,0x1
800001ea: e8a58593 addi a1,a1,-374 # 80001070 <_end>
800001ee: f0100637 lui a2,0xf0100
800001f2: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
800001f6 <complience_halt_loop>:
800001f6: 00b50c63 beq a0,a1,8000020e <complience_halt_break>
800001fa: 4554 lw a3,12(a0)
800001fc: c214 sw a3,0(a2)
800001fe: 4514 lw a3,8(a0)
80000200: c214 sw a3,0(a2)
80000202: 4154 lw a3,4(a0)
80000204: c214 sw a3,0(a2)
80000206: 4114 lw a3,0(a0)
80000208: c214 sw a3,0(a2)
8000020a: 0541 addi a0,a0,16
8000020c: b7ed j 800001f6 <complience_halt_loop>
8000020e <complience_halt_break>:
8000020e: f0100537 lui a0,0xf0100
80000212: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000216: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,194 @@
/home/spinalvm/hdl/riscv-compliance/work//C.ADDI16SP.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001097 auipc ra,0x1
800000f2: f1208093 addi ra,ra,-238 # 80001000 <codasip_signature_start>
800000f6: 0141 addi sp,sp,16
800000f8: 0020a023 sw sp,0(ra)
800000fc: 00001097 auipc ra,0x1
80000100: f0808093 addi ra,ra,-248 # 80001004 <test_2_res>
80000104: 6105 addi sp,sp,32
80000106: 0020a023 sw sp,0(ra)
8000010a: 00001097 auipc ra,0x1
8000010e: efe08093 addi ra,ra,-258 # 80001008 <test_3_res>
80000112: 6121 addi sp,sp,64
80000114: 0020a023 sw sp,0(ra)
80000118: 00001097 auipc ra,0x1
8000011c: ef408093 addi ra,ra,-268 # 8000100c <test_4_res>
80000120: 617d addi sp,sp,496
80000122: 0020a023 sw sp,0(ra)
80000126: 00001097 auipc ra,0x1
8000012a: eea08093 addi ra,ra,-278 # 80001010 <test_5_res>
8000012e: 7101 addi sp,sp,-512
80000130: 0020a023 sw sp,0(ra)
80000134: 00001517 auipc a0,0x1
80000138: ecc50513 addi a0,a0,-308 # 80001000 <codasip_signature_start>
8000013c: 00001597 auipc a1,0x1
80000140: ee458593 addi a1,a1,-284 # 80001020 <_end>
80000144: f0100637 lui a2,0xf0100
80000148: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
8000014c <complience_halt_loop>:
8000014c: 00b50c63 beq a0,a1,80000164 <complience_halt_break>
80000150: 4554 lw a3,12(a0)
80000152: c214 sw a3,0(a2)
80000154: 4514 lw a3,8(a0)
80000156: c214 sw a3,0(a2)
80000158: 4154 lw a3,4(a0)
8000015a: c214 sw a3,0(a2)
8000015c: 4114 lw a3,0(a0)
8000015e: c214 sw a3,0(a2)
80000160: 0541 addi a0,a0,16
80000162: b7ed j 8000014c <complience_halt_loop>
80000164 <complience_halt_break>:
80000164: f0100537 lui a0,0xf0100
80000168: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
8000016c: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
...

View file

@ -0,0 +1,194 @@
/home/spinalvm/hdl/riscv-compliance/work//C.ADDI4SPN.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001097 auipc ra,0x1
800000f2: f1208093 addi ra,ra,-238 # 80001000 <codasip_signature_start>
800000f6: 0050 addi a2,sp,4
800000f8: 00c0a023 sw a2,0(ra)
800000fc: 00001097 auipc ra,0x1
80000100: f0808093 addi ra,ra,-248 # 80001004 <test_2_res>
80000104: 0034 addi a3,sp,8
80000106: 00d0a023 sw a3,0(ra)
8000010a: 00001097 auipc ra,0x1
8000010e: efe08093 addi ra,ra,-258 # 80001008 <test_3_res>
80000112: 0078 addi a4,sp,12
80000114: 00e0a023 sw a4,0(ra)
80000118: 00001097 auipc ra,0x1
8000011c: ef408093 addi ra,ra,-268 # 8000100c <test_4_res>
80000120: 081c addi a5,sp,16
80000122: 00f0a023 sw a5,0(ra)
80000126: 00001097 auipc ra,0x1
8000012a: eea08093 addi ra,ra,-278 # 80001010 <test_5_res>
8000012e: 1fe0 addi s0,sp,1020
80000130: 0080a023 sw s0,0(ra)
80000134: 00001517 auipc a0,0x1
80000138: ecc50513 addi a0,a0,-308 # 80001000 <codasip_signature_start>
8000013c: 00001597 auipc a1,0x1
80000140: ee458593 addi a1,a1,-284 # 80001020 <_end>
80000144: f0100637 lui a2,0xf0100
80000148: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
8000014c <complience_halt_loop>:
8000014c: 00b50c63 beq a0,a1,80000164 <complience_halt_break>
80000150: 4554 lw a3,12(a0)
80000152: c214 sw a3,0(a2)
80000154: 4514 lw a3,8(a0)
80000156: c214 sw a3,0(a2)
80000158: 4154 lw a3,4(a0)
8000015a: c214 sw a3,0(a2)
8000015c: 4114 lw a3,0(a0)
8000015e: c214 sw a3,0(a2)
80000160: 0541 addi a0,a0,16
80000162: b7ed j 8000014c <complience_halt_loop>
80000164 <complience_halt_break>:
80000164: f0100537 lui a0,0xf0100
80000168: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
8000016c: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
...

View file

@ -0,0 +1,334 @@
/home/spinalvm/hdl/riscv-compliance/work//C.AND.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4581 li a1,0
800000f8: 4481 li s1,0
800000fa: 8ced and s1,s1,a1
800000fc: c026 sw s1,0(sp)
800000fe: 4681 li a3,0
80000100: 4605 li a2,1
80000102: 8e75 and a2,a2,a3
80000104: c232 sw a2,4(sp)
80000106: 4781 li a5,0
80000108: fff00713 li a4,-1
8000010c: 8f7d and a4,a4,a5
8000010e: c43a sw a4,8(sp)
80000110: 4481 li s1,0
80000112: 00008437 lui s0,0x8
80000116: fff40413 addi s0,s0,-1 # 7fff <_start-0x7fff8001>
8000011a: 8c65 and s0,s0,s1
8000011c: c622 sw s0,12(sp)
8000011e: 4601 li a2,0
80000120: 65a1 lui a1,0x8
80000122: 8df1 and a1,a1,a2
80000124: c82e sw a1,16(sp)
80000126: 00001117 auipc sp,0x1
8000012a: eee10113 addi sp,sp,-274 # 80001014 <test_2_res>
8000012e: 4705 li a4,1
80000130: 4681 li a3,0
80000132: 8ef9 and a3,a3,a4
80000134: c036 sw a3,0(sp)
80000136: 4405 li s0,1
80000138: 4785 li a5,1
8000013a: 8fe1 and a5,a5,s0
8000013c: c23e sw a5,4(sp)
8000013e: 4585 li a1,1
80000140: fff00493 li s1,-1
80000144: 8ced and s1,s1,a1
80000146: c426 sw s1,8(sp)
80000148: 4685 li a3,1
8000014a: 00008637 lui a2,0x8
8000014e: fff60613 addi a2,a2,-1 # 7fff <_start-0x7fff8001>
80000152: 8e75 and a2,a2,a3
80000154: c632 sw a2,12(sp)
80000156: 4785 li a5,1
80000158: 6721 lui a4,0x8
8000015a: 8f7d and a4,a4,a5
8000015c: c83a sw a4,16(sp)
8000015e: 00001117 auipc sp,0x1
80000162: eca10113 addi sp,sp,-310 # 80001028 <test_3_res>
80000166: fff00493 li s1,-1
8000016a: 4401 li s0,0
8000016c: 8c65 and s0,s0,s1
8000016e: c022 sw s0,0(sp)
80000170: fff00613 li a2,-1
80000174: 4585 li a1,1
80000176: 8df1 and a1,a1,a2
80000178: c22e sw a1,4(sp)
8000017a: fff00713 li a4,-1
8000017e: fff00693 li a3,-1
80000182: 8ef9 and a3,a3,a4
80000184: c436 sw a3,8(sp)
80000186: fff00413 li s0,-1
8000018a: 000087b7 lui a5,0x8
8000018e: fff78793 addi a5,a5,-1 # 7fff <_start-0x7fff8001>
80000192: 8fe1 and a5,a5,s0
80000194: c63e sw a5,12(sp)
80000196: fff00593 li a1,-1
8000019a: 64a1 lui s1,0x8
8000019c: 8ced and s1,s1,a1
8000019e: c826 sw s1,16(sp)
800001a0: 00001117 auipc sp,0x1
800001a4: e9c10113 addi sp,sp,-356 # 8000103c <test_4_res>
800001a8: 000086b7 lui a3,0x8
800001ac: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
800001b0: 4601 li a2,0
800001b2: 8e75 and a2,a2,a3
800001b4: c032 sw a2,0(sp)
800001b6: 000087b7 lui a5,0x8
800001ba: fff78793 addi a5,a5,-1 # 7fff <_start-0x7fff8001>
800001be: 4705 li a4,1
800001c0: 8f7d and a4,a4,a5
800001c2: c23a sw a4,4(sp)
800001c4: 000084b7 lui s1,0x8
800001c8: fff48493 addi s1,s1,-1 # 7fff <_start-0x7fff8001>
800001cc: fff00413 li s0,-1
800001d0: 8c65 and s0,s0,s1
800001d2: c422 sw s0,8(sp)
800001d4: 00008637 lui a2,0x8
800001d8: fff60613 addi a2,a2,-1 # 7fff <_start-0x7fff8001>
800001dc: 000085b7 lui a1,0x8
800001e0: fff58593 addi a1,a1,-1 # 7fff <_start-0x7fff8001>
800001e4: 8df1 and a1,a1,a2
800001e6: c62e sw a1,12(sp)
800001e8: 00008737 lui a4,0x8
800001ec: fff70713 addi a4,a4,-1 # 7fff <_start-0x7fff8001>
800001f0: 66a1 lui a3,0x8
800001f2: 8ef9 and a3,a3,a4
800001f4: c836 sw a3,16(sp)
800001f6: 00001117 auipc sp,0x1
800001fa: e5a10113 addi sp,sp,-422 # 80001050 <test_5_res>
800001fe: 6421 lui s0,0x8
80000200: 4781 li a5,0
80000202: 8fe1 and a5,a5,s0
80000204: c03e sw a5,0(sp)
80000206: 65a1 lui a1,0x8
80000208: 4485 li s1,1
8000020a: 8ced and s1,s1,a1
8000020c: c226 sw s1,4(sp)
8000020e: 66a1 lui a3,0x8
80000210: fff00613 li a2,-1
80000214: 8e75 and a2,a2,a3
80000216: c432 sw a2,8(sp)
80000218: 67a1 lui a5,0x8
8000021a: 00008737 lui a4,0x8
8000021e: fff70713 addi a4,a4,-1 # 7fff <_start-0x7fff8001>
80000222: 8f7d and a4,a4,a5
80000224: c63a sw a4,12(sp)
80000226: 64a1 lui s1,0x8
80000228: 6421 lui s0,0x8
8000022a: 8c65 and s0,s0,s1
8000022c: c822 sw s0,16(sp)
8000022e: 00001517 auipc a0,0x1
80000232: dd250513 addi a0,a0,-558 # 80001000 <codasip_signature_start>
80000236: 00001597 auipc a1,0x1
8000023a: e3a58593 addi a1,a1,-454 # 80001070 <_end>
8000023e: f0100637 lui a2,0xf0100
80000242: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
80000246 <complience_halt_loop>:
80000246: 00b50c63 beq a0,a1,8000025e <complience_halt_break>
8000024a: 4554 lw a3,12(a0)
8000024c: c214 sw a3,0(a2)
8000024e: 4514 lw a3,8(a0)
80000250: c214 sw a3,0(a2)
80000252: 4154 lw a3,4(a0)
80000254: c214 sw a3,0(a2)
80000256: 4114 lw a3,0(a0)
80000258: c214 sw a3,0(a2)
8000025a: 0541 addi a0,a0,16
8000025c: b7ed j 80000246 <complience_halt_loop>
8000025e <complience_halt_break>:
8000025e: f0100537 lui a0,0xf0100
80000262: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000266: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,304 @@
/home/spinalvm/hdl/riscv-compliance/work//C.ANDI.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4581 li a1,0
800000f8: 8981 andi a1,a1,0
800000fa: c02e sw a1,0(sp)
800000fc: 4601 li a2,0
800000fe: 8a05 andi a2,a2,1
80000100: c232 sw a2,4(sp)
80000102: 4681 li a3,0
80000104: 8ac1 andi a3,a3,16
80000106: c436 sw a3,8(sp)
80000108: 4701 li a4,0
8000010a: 8b7d andi a4,a4,31
8000010c: c63a sw a4,12(sp)
8000010e: 4781 li a5,0
80000110: 9b85 andi a5,a5,-31
80000112: c83e sw a5,16(sp)
80000114: 00001117 auipc sp,0x1
80000118: f0010113 addi sp,sp,-256 # 80001014 <test_2_res>
8000011c: 4405 li s0,1
8000011e: 8801 andi s0,s0,0
80000120: c022 sw s0,0(sp)
80000122: 4485 li s1,1
80000124: 8885 andi s1,s1,1
80000126: c226 sw s1,4(sp)
80000128: 4585 li a1,1
8000012a: 89c1 andi a1,a1,16
8000012c: c42e sw a1,8(sp)
8000012e: 4605 li a2,1
80000130: 8a7d andi a2,a2,31
80000132: c632 sw a2,12(sp)
80000134: 4685 li a3,1
80000136: 9a85 andi a3,a3,-31
80000138: c836 sw a3,16(sp)
8000013a: 00001117 auipc sp,0x1
8000013e: eee10113 addi sp,sp,-274 # 80001028 <test_3_res>
80000142: fff00713 li a4,-1
80000146: 8b01 andi a4,a4,0
80000148: c03a sw a4,0(sp)
8000014a: fff00793 li a5,-1
8000014e: 8b85 andi a5,a5,1
80000150: c23e sw a5,4(sp)
80000152: fff00413 li s0,-1
80000156: 8841 andi s0,s0,16
80000158: c422 sw s0,8(sp)
8000015a: fff00493 li s1,-1
8000015e: 88fd andi s1,s1,31
80000160: c626 sw s1,12(sp)
80000162: fff00593 li a1,-1
80000166: 9985 andi a1,a1,-31
80000168: c82e sw a1,16(sp)
8000016a: 00001117 auipc sp,0x1
8000016e: ed210113 addi sp,sp,-302 # 8000103c <test_4_res>
80000172: 00080637 lui a2,0x80
80000176: fff60613 addi a2,a2,-1 # 7ffff <_start-0x7ff80001>
8000017a: 8a01 andi a2,a2,0
8000017c: c032 sw a2,0(sp)
8000017e: 000806b7 lui a3,0x80
80000182: fff68693 addi a3,a3,-1 # 7ffff <_start-0x7ff80001>
80000186: 8a85 andi a3,a3,1
80000188: c236 sw a3,4(sp)
8000018a: 00080737 lui a4,0x80
8000018e: fff70713 addi a4,a4,-1 # 7ffff <_start-0x7ff80001>
80000192: 8b41 andi a4,a4,16
80000194: c43a sw a4,8(sp)
80000196: 000807b7 lui a5,0x80
8000019a: fff78793 addi a5,a5,-1 # 7ffff <_start-0x7ff80001>
8000019e: 8bfd andi a5,a5,31
800001a0: c63e sw a5,12(sp)
800001a2: 00080437 lui s0,0x80
800001a6: fff40413 addi s0,s0,-1 # 7ffff <_start-0x7ff80001>
800001aa: 9805 andi s0,s0,-31
800001ac: c822 sw s0,16(sp)
800001ae: 00001117 auipc sp,0x1
800001b2: ea210113 addi sp,sp,-350 # 80001050 <test_5_res>
800001b6: 000804b7 lui s1,0x80
800001ba: 8881 andi s1,s1,0
800001bc: c026 sw s1,0(sp)
800001be: 000805b7 lui a1,0x80
800001c2: 8985 andi a1,a1,1
800001c4: c22e sw a1,4(sp)
800001c6: 00080637 lui a2,0x80
800001ca: 8a41 andi a2,a2,16
800001cc: c432 sw a2,8(sp)
800001ce: 000806b7 lui a3,0x80
800001d2: 8afd andi a3,a3,31
800001d4: c636 sw a3,12(sp)
800001d6: 00080737 lui a4,0x80
800001da: 9b05 andi a4,a4,-31
800001dc: c83a sw a4,16(sp)
800001de: 00001517 auipc a0,0x1
800001e2: e2250513 addi a0,a0,-478 # 80001000 <codasip_signature_start>
800001e6: 00001597 auipc a1,0x1
800001ea: e8a58593 addi a1,a1,-374 # 80001070 <_end>
800001ee: f0100637 lui a2,0xf0100
800001f2: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
800001f6 <complience_halt_loop>:
800001f6: 00b50c63 beq a0,a1,8000020e <complience_halt_break>
800001fa: 4554 lw a3,12(a0)
800001fc: c214 sw a3,0(a2)
800001fe: 4514 lw a3,8(a0)
80000200: c214 sw a3,0(a2)
80000202: 4154 lw a3,4(a0)
80000204: c214 sw a3,0(a2)
80000206: 4114 lw a3,0(a0)
80000208: c214 sw a3,0(a2)
8000020a: 0541 addi a0,a0,16
8000020c: b7ed j 800001f6 <complience_halt_loop>
8000020e <complience_halt_break>:
8000020e: f0100537 lui a0,0xf0100
80000212: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000216: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,215 @@
/home/spinalvm/hdl/riscv-compliance/work//C.BEQZ.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4781 li a5,0
800000f8: 8f9d sub a5,a5,a5
800000fa: c789 beqz a5,80000104 <_start+0x104>
800000fc: 000127b7 lui a5,0x12
80000100: 3ab78793 addi a5,a5,939 # 123ab <_start-0x7ffedc55>
80000104: c03e sw a5,0(sp)
80000106: 00001117 auipc sp,0x1
8000010a: efe10113 addi sp,sp,-258 # 80001004 <test_2_res>
8000010e: 4405 li s0,1
80000110: 8c01 sub s0,s0,s0
80000112: c409 beqz s0,8000011c <_start+0x11c>
80000114: 00012437 lui s0,0x12
80000118: 3ab40413 addi s0,s0,939 # 123ab <_start-0x7ffedc55>
8000011c: c022 sw s0,0(sp)
8000011e: 00001117 auipc sp,0x1
80000122: eea10113 addi sp,sp,-278 # 80001008 <test_3_res>
80000126: 54fd li s1,-1
80000128: 8c85 sub s1,s1,s1
8000012a: c489 beqz s1,80000134 <_start+0x134>
8000012c: 000124b7 lui s1,0x12
80000130: 3ab48493 addi s1,s1,939 # 123ab <_start-0x7ffedc55>
80000134: c026 sw s1,0(sp)
80000136: 00001117 auipc sp,0x1
8000013a: ed610113 addi sp,sp,-298 # 8000100c <test_4_res>
8000013e: 000085b7 lui a1,0x8
80000142: fff58593 addi a1,a1,-1 # 7fff <_start-0x7fff8001>
80000146: 8d8d sub a1,a1,a1
80000148: c589 beqz a1,80000152 <_start+0x152>
8000014a: 000125b7 lui a1,0x12
8000014e: 3ab58593 addi a1,a1,939 # 123ab <_start-0x7ffedc55>
80000152: c02e sw a1,0(sp)
80000154: 00001117 auipc sp,0x1
80000158: ebc10113 addi sp,sp,-324 # 80001010 <test_5_res>
8000015c: 6621 lui a2,0x8
8000015e: 8e11 sub a2,a2,a2
80000160: c609 beqz a2,8000016a <_start+0x16a>
80000162: 00012637 lui a2,0x12
80000166: 3ab60613 addi a2,a2,939 # 123ab <_start-0x7ffedc55>
8000016a: c032 sw a2,0(sp)
8000016c: 00001517 auipc a0,0x1
80000170: e9450513 addi a0,a0,-364 # 80001000 <codasip_signature_start>
80000174: 00001597 auipc a1,0x1
80000178: eac58593 addi a1,a1,-340 # 80001020 <_end>
8000017c: f0100637 lui a2,0xf0100
80000180: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
80000184 <complience_halt_loop>:
80000184: 00b50c63 beq a0,a1,8000019c <complience_halt_break>
80000188: 4554 lw a3,12(a0)
8000018a: c214 sw a3,0(a2)
8000018c: 4514 lw a3,8(a0)
8000018e: c214 sw a3,0(a2)
80000190: 4154 lw a3,4(a0)
80000192: c214 sw a3,0(a2)
80000194: 4114 lw a3,0(a0)
80000196: c214 sw a3,0(a2)
80000198: 0541 addi a0,a0,16
8000019a: b7ed j 80000184 <complience_halt_loop>
8000019c <complience_halt_break>:
8000019c: f0100537 lui a0,0xf0100
800001a0: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
800001a4: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
...

View file

@ -0,0 +1,205 @@
/home/spinalvm/hdl/riscv-compliance/work//C.BNEZ.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4681 li a3,0
800000f8: e291 bnez a3,800000fc <_start+0xfc>
800000fa: 4681 li a3,0
800000fc: c036 sw a3,0(sp)
800000fe: 00001117 auipc sp,0x1
80000102: f0610113 addi sp,sp,-250 # 80001004 <test_2_res>
80000106: 4705 li a4,1
80000108: e311 bnez a4,8000010c <_start+0x10c>
8000010a: 4701 li a4,0
8000010c: c03a sw a4,0(sp)
8000010e: 00001117 auipc sp,0x1
80000112: efa10113 addi sp,sp,-262 # 80001008 <test_3_res>
80000116: 57fd li a5,-1
80000118: e391 bnez a5,8000011c <_start+0x11c>
8000011a: 4781 li a5,0
8000011c: c03e sw a5,0(sp)
8000011e: 00001117 auipc sp,0x1
80000122: eee10113 addi sp,sp,-274 # 8000100c <test_4_res>
80000126: 00008437 lui s0,0x8
8000012a: fff40413 addi s0,s0,-1 # 7fff <_start-0x7fff8001>
8000012e: e011 bnez s0,80000132 <_start+0x132>
80000130: 4401 li s0,0
80000132: c022 sw s0,0(sp)
80000134: 00001117 auipc sp,0x1
80000138: edc10113 addi sp,sp,-292 # 80001010 <test_5_res>
8000013c: 64a1 lui s1,0x8
8000013e: e091 bnez s1,80000142 <_start+0x142>
80000140: 4481 li s1,0
80000142: c026 sw s1,0(sp)
80000144: 00001517 auipc a0,0x1
80000148: ebc50513 addi a0,a0,-324 # 80001000 <codasip_signature_start>
8000014c: 00001597 auipc a1,0x1
80000150: ed458593 addi a1,a1,-300 # 80001020 <_end>
80000154: f0100637 lui a2,0xf0100
80000158: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
8000015c <complience_halt_loop>:
8000015c: 00b50c63 beq a0,a1,80000174 <complience_halt_break>
80000160: 4554 lw a3,12(a0)
80000162: c214 sw a3,0(a2)
80000164: 4514 lw a3,8(a0)
80000166: c214 sw a3,0(a2)
80000168: 4154 lw a3,4(a0)
8000016a: c214 sw a3,0(a2)
8000016c: 4114 lw a3,0(a0)
8000016e: c214 sw a3,0(a2)
80000170: 0541 addi a0,a0,16
80000172: b7ed j 8000015c <complience_halt_loop>
80000174 <complience_halt_break>:
80000174: f0100537 lui a0,0xf0100
80000178: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
8000017c: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
...

View file

@ -0,0 +1,211 @@
/home/spinalvm/hdl/riscv-compliance/work//C.J.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4581 li a1,0
800000f8: a029 j 80000102 <_start+0x102>
800000fa: 000125b7 lui a1,0x12
800000fe: 3ab58593 addi a1,a1,939 # 123ab <_start-0x7ffedc55>
80000102: c02e sw a1,0(sp)
80000104: 00001117 auipc sp,0x1
80000108: f0010113 addi sp,sp,-256 # 80001004 <test_2_res>
8000010c: 4605 li a2,1
8000010e: a029 j 80000118 <_start+0x118>
80000110: 00012637 lui a2,0x12
80000114: 3ab60613 addi a2,a2,939 # 123ab <_start-0x7ffedc55>
80000118: c032 sw a2,0(sp)
8000011a: 00001117 auipc sp,0x1
8000011e: eee10113 addi sp,sp,-274 # 80001008 <test_3_res>
80000122: 56fd li a3,-1
80000124: a029 j 8000012e <_start+0x12e>
80000126: 000126b7 lui a3,0x12
8000012a: 3ab68693 addi a3,a3,939 # 123ab <_start-0x7ffedc55>
8000012e: c036 sw a3,0(sp)
80000130: 00001117 auipc sp,0x1
80000134: edc10113 addi sp,sp,-292 # 8000100c <test_4_res>
80000138: 00008737 lui a4,0x8
8000013c: fff70713 addi a4,a4,-1 # 7fff <_start-0x7fff8001>
80000140: a029 j 8000014a <_start+0x14a>
80000142: 00012737 lui a4,0x12
80000146: 3ab70713 addi a4,a4,939 # 123ab <_start-0x7ffedc55>
8000014a: c03a sw a4,0(sp)
8000014c: 00001117 auipc sp,0x1
80000150: ec410113 addi sp,sp,-316 # 80001010 <test_5_res>
80000154: 67a1 lui a5,0x8
80000156: a029 j 80000160 <_start+0x160>
80000158: 000127b7 lui a5,0x12
8000015c: 3ab78793 addi a5,a5,939 # 123ab <_start-0x7ffedc55>
80000160: c03e sw a5,0(sp)
80000162: 00001517 auipc a0,0x1
80000166: e9e50513 addi a0,a0,-354 # 80001000 <codasip_signature_start>
8000016a: 00001597 auipc a1,0x1
8000016e: eb658593 addi a1,a1,-330 # 80001020 <_end>
80000172: f0100637 lui a2,0xf0100
80000176: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
8000017a <complience_halt_loop>:
8000017a: 00b50c63 beq a0,a1,80000192 <complience_halt_break>
8000017e: 4554 lw a3,12(a0)
80000180: c214 sw a3,0(a2)
80000182: 4514 lw a3,8(a0)
80000184: c214 sw a3,0(a2)
80000186: 4154 lw a3,4(a0)
80000188: c214 sw a3,0(a2)
8000018a: 4114 lw a3,0(a0)
8000018c: c214 sw a3,0(a2)
8000018e: 0541 addi a0,a0,16
80000190: b7ed j 8000017a <complience_halt_loop>
80000192 <complience_halt_break>:
80000192: f0100537 lui a0,0xf0100
80000196: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
8000019a: 00052023 sw zero,0(a0)
8000019e: 0000 unimp
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
...

View file

@ -0,0 +1,211 @@
/home/spinalvm/hdl/riscv-compliance/work//C.JAL.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4401 li s0,0
800000f8: 2029 jal 80000102 <_start+0x102>
800000fa: 00012437 lui s0,0x12
800000fe: 3ab40413 addi s0,s0,939 # 123ab <_start-0x7ffedc55>
80000102: c022 sw s0,0(sp)
80000104: 00001117 auipc sp,0x1
80000108: f0010113 addi sp,sp,-256 # 80001004 <test_2_res>
8000010c: 4485 li s1,1
8000010e: 2029 jal 80000118 <_start+0x118>
80000110: 000124b7 lui s1,0x12
80000114: 3ab48493 addi s1,s1,939 # 123ab <_start-0x7ffedc55>
80000118: c026 sw s1,0(sp)
8000011a: 00001117 auipc sp,0x1
8000011e: eee10113 addi sp,sp,-274 # 80001008 <test_3_res>
80000122: 55fd li a1,-1
80000124: 2029 jal 8000012e <_start+0x12e>
80000126: 000125b7 lui a1,0x12
8000012a: 3ab58593 addi a1,a1,939 # 123ab <_start-0x7ffedc55>
8000012e: c02e sw a1,0(sp)
80000130: 00001117 auipc sp,0x1
80000134: edc10113 addi sp,sp,-292 # 8000100c <test_4_res>
80000138: 00008637 lui a2,0x8
8000013c: fff60613 addi a2,a2,-1 # 7fff <_start-0x7fff8001>
80000140: 2029 jal 8000014a <_start+0x14a>
80000142: 00012637 lui a2,0x12
80000146: 3ab60613 addi a2,a2,939 # 123ab <_start-0x7ffedc55>
8000014a: c032 sw a2,0(sp)
8000014c: 00001117 auipc sp,0x1
80000150: ec410113 addi sp,sp,-316 # 80001010 <test_5_res>
80000154: 66a1 lui a3,0x8
80000156: 2029 jal 80000160 <_start+0x160>
80000158: 000126b7 lui a3,0x12
8000015c: 3ab68693 addi a3,a3,939 # 123ab <_start-0x7ffedc55>
80000160: c036 sw a3,0(sp)
80000162: 00001517 auipc a0,0x1
80000166: e9e50513 addi a0,a0,-354 # 80001000 <codasip_signature_start>
8000016a: 00001597 auipc a1,0x1
8000016e: eb658593 addi a1,a1,-330 # 80001020 <_end>
80000172: f0100637 lui a2,0xf0100
80000176: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
8000017a <complience_halt_loop>:
8000017a: 00b50c63 beq a0,a1,80000192 <complience_halt_break>
8000017e: 4554 lw a3,12(a0)
80000180: c214 sw a3,0(a2)
80000182: 4514 lw a3,8(a0)
80000184: c214 sw a3,0(a2)
80000186: 4154 lw a3,4(a0)
80000188: c214 sw a3,0(a2)
8000018a: 4114 lw a3,0(a0)
8000018c: c214 sw a3,0(a2)
8000018e: 0541 addi a0,a0,16
80000190: b7ed j 8000017a <complience_halt_loop>
80000192 <complience_halt_break>:
80000192: f0100537 lui a0,0xf0100
80000196: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
8000019a: 00052023 sw zero,0(a0)
8000019e: 0000 unimp
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
...

View file

@ -0,0 +1,220 @@
/home/spinalvm/hdl/riscv-compliance/work//C.JALR.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4501 li a0,0
800000f8: 00000617 auipc a2,0x0
800000fc: 01260613 addi a2,a2,18 # 8000010a <_start+0x10a>
80000100: 9602 jalr a2
80000102: 00012537 lui a0,0x12
80000106: 3ab50513 addi a0,a0,939 # 123ab <_start-0x7ffedc55>
8000010a: c032 sw a2,0(sp)
8000010c: 00001117 auipc sp,0x1
80000110: ef810113 addi sp,sp,-264 # 80001004 <test_2_res>
80000114: 4505 li a0,1
80000116: 00000697 auipc a3,0x0
8000011a: 01268693 addi a3,a3,18 # 80000128 <_start+0x128>
8000011e: 9682 jalr a3
80000120: 00012537 lui a0,0x12
80000124: 3ab50513 addi a0,a0,939 # 123ab <_start-0x7ffedc55>
80000128: c036 sw a3,0(sp)
8000012a: 00001117 auipc sp,0x1
8000012e: ede10113 addi sp,sp,-290 # 80001008 <test_3_res>
80000132: 557d li a0,-1
80000134: 00000717 auipc a4,0x0
80000138: 01270713 addi a4,a4,18 # 80000146 <_start+0x146>
8000013c: 9702 jalr a4
8000013e: 00012537 lui a0,0x12
80000142: 3ab50513 addi a0,a0,939 # 123ab <_start-0x7ffedc55>
80000146: c03a sw a4,0(sp)
80000148: 00001117 auipc sp,0x1
8000014c: ec410113 addi sp,sp,-316 # 8000100c <test_4_res>
80000150: 00008537 lui a0,0x8
80000154: fff50513 addi a0,a0,-1 # 7fff <_start-0x7fff8001>
80000158: 00000797 auipc a5,0x0
8000015c: 01278793 addi a5,a5,18 # 8000016a <_start+0x16a>
80000160: 9782 jalr a5
80000162: 00012537 lui a0,0x12
80000166: 3ab50513 addi a0,a0,939 # 123ab <_start-0x7ffedc55>
8000016a: c03e sw a5,0(sp)
8000016c: 00001117 auipc sp,0x1
80000170: ea410113 addi sp,sp,-348 # 80001010 <test_5_res>
80000174: 6521 lui a0,0x8
80000176: 00000817 auipc a6,0x0
8000017a: 01280813 addi a6,a6,18 # 80000188 <_start+0x188>
8000017e: 9802 jalr a6
80000180: 00012537 lui a0,0x12
80000184: 3ab50513 addi a0,a0,939 # 123ab <_start-0x7ffedc55>
80000188: c042 sw a6,0(sp)
8000018a: 00001517 auipc a0,0x1
8000018e: e7650513 addi a0,a0,-394 # 80001000 <codasip_signature_start>
80000192: 00001597 auipc a1,0x1
80000196: e8e58593 addi a1,a1,-370 # 80001020 <_end>
8000019a: f0100637 lui a2,0xf0100
8000019e: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
800001a2 <complience_halt_loop>:
800001a2: 00b50c63 beq a0,a1,800001ba <complience_halt_break>
800001a6: 4554 lw a3,12(a0)
800001a8: c214 sw a3,0(a2)
800001aa: 4514 lw a3,8(a0)
800001ac: c214 sw a3,0(a2)
800001ae: 4154 lw a3,4(a0)
800001b0: c214 sw a3,0(a2)
800001b2: 4114 lw a3,0(a0)
800001b4: c214 sw a3,0(a2)
800001b6: 0541 addi a0,a0,16
800001b8: b7ed j 800001a2 <complience_halt_loop>
800001ba <complience_halt_break>:
800001ba: f0100537 lui a0,0xf0100
800001be: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
800001c2: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
...

View file

@ -0,0 +1,220 @@
/home/spinalvm/hdl/riscv-compliance/work//C.JR.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4501 li a0,0
800000f8: 00000197 auipc gp,0x0
800000fc: 01218193 addi gp,gp,18 # 8000010a <_start+0x10a>
80000100: 8182 jr gp
80000102: 00012537 lui a0,0x12
80000106: 3ab50513 addi a0,a0,939 # 123ab <_start-0x7ffedc55>
8000010a: c00e sw gp,0(sp)
8000010c: 00001117 auipc sp,0x1
80000110: ef810113 addi sp,sp,-264 # 80001004 <test_2_res>
80000114: 4505 li a0,1
80000116: 00000217 auipc tp,0x0
8000011a: 01220213 addi tp,tp,18 # 80000128 <_start+0x128>
8000011e: 8202 jr tp
80000120: 00012537 lui a0,0x12
80000124: 3ab50513 addi a0,a0,939 # 123ab <_start-0x7ffedc55>
80000128: c012 sw tp,0(sp)
8000012a: 00001117 auipc sp,0x1
8000012e: ede10113 addi sp,sp,-290 # 80001008 <test_3_res>
80000132: 557d li a0,-1
80000134: 00000417 auipc s0,0x0
80000138: 01240413 addi s0,s0,18 # 80000146 <_start+0x146>
8000013c: 8402 jr s0
8000013e: 00012537 lui a0,0x12
80000142: 3ab50513 addi a0,a0,939 # 123ab <_start-0x7ffedc55>
80000146: c022 sw s0,0(sp)
80000148: 00001117 auipc sp,0x1
8000014c: ec410113 addi sp,sp,-316 # 8000100c <test_4_res>
80000150: 00008537 lui a0,0x8
80000154: fff50513 addi a0,a0,-1 # 7fff <_start-0x7fff8001>
80000158: 00000497 auipc s1,0x0
8000015c: 01248493 addi s1,s1,18 # 8000016a <_start+0x16a>
80000160: 8482 jr s1
80000162: 00012537 lui a0,0x12
80000166: 3ab50513 addi a0,a0,939 # 123ab <_start-0x7ffedc55>
8000016a: c026 sw s1,0(sp)
8000016c: 00001117 auipc sp,0x1
80000170: ea410113 addi sp,sp,-348 # 80001010 <test_5_res>
80000174: 6521 lui a0,0x8
80000176: 00000597 auipc a1,0x0
8000017a: 01258593 addi a1,a1,18 # 80000188 <_start+0x188>
8000017e: 8582 jr a1
80000180: 00012537 lui a0,0x12
80000184: 3ab50513 addi a0,a0,939 # 123ab <_start-0x7ffedc55>
80000188: c02e sw a1,0(sp)
8000018a: 00001517 auipc a0,0x1
8000018e: e7650513 addi a0,a0,-394 # 80001000 <codasip_signature_start>
80000192: 00001597 auipc a1,0x1
80000196: e8e58593 addi a1,a1,-370 # 80001020 <_end>
8000019a: f0100637 lui a2,0xf0100
8000019e: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
800001a2 <complience_halt_loop>:
800001a2: 00b50c63 beq a0,a1,800001ba <complience_halt_break>
800001a6: 4554 lw a3,12(a0)
800001a8: c214 sw a3,0(a2)
800001aa: 4514 lw a3,8(a0)
800001ac: c214 sw a3,0(a2)
800001ae: 4154 lw a3,4(a0)
800001b0: c214 sw a3,0(a2)
800001b2: 4114 lw a3,0(a0)
800001b4: c214 sw a3,0(a2)
800001b6: 0541 addi a0,a0,16
800001b8: b7ed j 800001a2 <complience_halt_loop>
800001ba <complience_halt_break>:
800001ba: f0100537 lui a0,0xf0100
800001be: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
800001c2: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
...

View file

@ -0,0 +1,304 @@
/home/spinalvm/hdl/riscv-compliance/work//C.LI.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4181 li gp,0
800000f8: 4181 li gp,0
800000fa: c00e sw gp,0(sp)
800000fc: 4201 li tp,0
800000fe: 4205 li tp,1
80000100: c212 sw tp,4(sp)
80000102: 4401 li s0,0
80000104: 4441 li s0,16
80000106: c422 sw s0,8(sp)
80000108: 4481 li s1,0
8000010a: 44fd li s1,31
8000010c: c626 sw s1,12(sp)
8000010e: 4581 li a1,0
80000110: 5585 li a1,-31
80000112: c82e sw a1,16(sp)
80000114: 00001117 auipc sp,0x1
80000118: f0010113 addi sp,sp,-256 # 80001014 <test_2_res>
8000011c: 4605 li a2,1
8000011e: 4601 li a2,0
80000120: c032 sw a2,0(sp)
80000122: 4685 li a3,1
80000124: 4685 li a3,1
80000126: c236 sw a3,4(sp)
80000128: 4705 li a4,1
8000012a: 4741 li a4,16
8000012c: c43a sw a4,8(sp)
8000012e: 4785 li a5,1
80000130: 47fd li a5,31
80000132: c63e sw a5,12(sp)
80000134: 4805 li a6,1
80000136: 5805 li a6,-31
80000138: c842 sw a6,16(sp)
8000013a: 00001117 auipc sp,0x1
8000013e: eee10113 addi sp,sp,-274 # 80001028 <test_3_res>
80000142: fff00893 li a7,-1
80000146: 4881 li a7,0
80000148: c046 sw a7,0(sp)
8000014a: fff00913 li s2,-1
8000014e: 4905 li s2,1
80000150: c24a sw s2,4(sp)
80000152: fff00993 li s3,-1
80000156: 49c1 li s3,16
80000158: c44e sw s3,8(sp)
8000015a: fff00a13 li s4,-1
8000015e: 4a7d li s4,31
80000160: c652 sw s4,12(sp)
80000162: fff00a93 li s5,-1
80000166: 5a85 li s5,-31
80000168: c856 sw s5,16(sp)
8000016a: 00001117 auipc sp,0x1
8000016e: ed210113 addi sp,sp,-302 # 8000103c <test_4_res>
80000172: 00080b37 lui s6,0x80
80000176: fffb0b13 addi s6,s6,-1 # 7ffff <_start-0x7ff80001>
8000017a: 4b01 li s6,0
8000017c: c05a sw s6,0(sp)
8000017e: 00080bb7 lui s7,0x80
80000182: fffb8b93 addi s7,s7,-1 # 7ffff <_start-0x7ff80001>
80000186: 4b85 li s7,1
80000188: c25e sw s7,4(sp)
8000018a: 00080c37 lui s8,0x80
8000018e: fffc0c13 addi s8,s8,-1 # 7ffff <_start-0x7ff80001>
80000192: 4c41 li s8,16
80000194: c462 sw s8,8(sp)
80000196: 00080cb7 lui s9,0x80
8000019a: fffc8c93 addi s9,s9,-1 # 7ffff <_start-0x7ff80001>
8000019e: 4cfd li s9,31
800001a0: c666 sw s9,12(sp)
800001a2: 00080d37 lui s10,0x80
800001a6: fffd0d13 addi s10,s10,-1 # 7ffff <_start-0x7ff80001>
800001aa: 5d05 li s10,-31
800001ac: c86a sw s10,16(sp)
800001ae: 00001117 auipc sp,0x1
800001b2: ea210113 addi sp,sp,-350 # 80001050 <test_5_res>
800001b6: 00080db7 lui s11,0x80
800001ba: 4d81 li s11,0
800001bc: c06e sw s11,0(sp)
800001be: 00080e37 lui t3,0x80
800001c2: 4e05 li t3,1
800001c4: c272 sw t3,4(sp)
800001c6: 00080eb7 lui t4,0x80
800001ca: 4ec1 li t4,16
800001cc: c476 sw t4,8(sp)
800001ce: 00080f37 lui t5,0x80
800001d2: 4f7d li t5,31
800001d4: c67a sw t5,12(sp)
800001d6: 00080fb7 lui t6,0x80
800001da: 5f85 li t6,-31
800001dc: c87e sw t6,16(sp)
800001de: 00001517 auipc a0,0x1
800001e2: e2250513 addi a0,a0,-478 # 80001000 <codasip_signature_start>
800001e6: 00001597 auipc a1,0x1
800001ea: e8a58593 addi a1,a1,-374 # 80001070 <_end>
800001ee: f0100637 lui a2,0xf0100
800001f2: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
800001f6 <complience_halt_loop>:
800001f6: 00b50c63 beq a0,a1,8000020e <complience_halt_break>
800001fa: 4554 lw a3,12(a0)
800001fc: c214 sw a3,0(a2)
800001fe: 4514 lw a3,8(a0)
80000200: c214 sw a3,0(a2)
80000202: 4154 lw a3,4(a0)
80000204: c214 sw a3,0(a2)
80000206: 4114 lw a3,0(a0)
80000208: c214 sw a3,0(a2)
8000020a: 0541 addi a0,a0,16
8000020c: b7ed j 800001f6 <complience_halt_loop>
8000020e <complience_halt_break>:
8000020e: f0100537 lui a0,0xf0100
80000212: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000216: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,304 @@
/home/spinalvm/hdl/riscv-compliance/work//C.LUI.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4181 li gp,0
800000f8: 6185 lui gp,0x1
800000fa: c00e sw gp,0(sp)
800000fc: 4201 li tp,0
800000fe: 6209 lui tp,0x2
80000100: c212 sw tp,4(sp)
80000102: 4401 li s0,0
80000104: 643d lui s0,0xf
80000106: c422 sw s0,8(sp)
80000108: 4481 li s1,0
8000010a: 64fd lui s1,0x1f
8000010c: c626 sw s1,12(sp)
8000010e: 4581 li a1,0
80000110: 75fd lui a1,0xfffff
80000112: c82e sw a1,16(sp)
80000114: 00001117 auipc sp,0x1
80000118: f0010113 addi sp,sp,-256 # 80001014 <test_2_res>
8000011c: 4605 li a2,1
8000011e: 6605 lui a2,0x1
80000120: c032 sw a2,0(sp)
80000122: 4685 li a3,1
80000124: 6689 lui a3,0x2
80000126: c236 sw a3,4(sp)
80000128: 4705 li a4,1
8000012a: 673d lui a4,0xf
8000012c: c43a sw a4,8(sp)
8000012e: 4785 li a5,1
80000130: 67fd lui a5,0x1f
80000132: c63e sw a5,12(sp)
80000134: 4805 li a6,1
80000136: 787d lui a6,0xfffff
80000138: c842 sw a6,16(sp)
8000013a: 00001117 auipc sp,0x1
8000013e: eee10113 addi sp,sp,-274 # 80001028 <test_3_res>
80000142: fff00893 li a7,-1
80000146: 6885 lui a7,0x1
80000148: c046 sw a7,0(sp)
8000014a: fff00913 li s2,-1
8000014e: 6909 lui s2,0x2
80000150: c24a sw s2,4(sp)
80000152: fff00993 li s3,-1
80000156: 69bd lui s3,0xf
80000158: c44e sw s3,8(sp)
8000015a: fff00a13 li s4,-1
8000015e: 6a7d lui s4,0x1f
80000160: c652 sw s4,12(sp)
80000162: fff00a93 li s5,-1
80000166: 7afd lui s5,0xfffff
80000168: c856 sw s5,16(sp)
8000016a: 00001117 auipc sp,0x1
8000016e: ed210113 addi sp,sp,-302 # 8000103c <test_4_res>
80000172: 00080b37 lui s6,0x80
80000176: fffb0b13 addi s6,s6,-1 # 7ffff <_start-0x7ff80001>
8000017a: 6b05 lui s6,0x1
8000017c: c05a sw s6,0(sp)
8000017e: 00080bb7 lui s7,0x80
80000182: fffb8b93 addi s7,s7,-1 # 7ffff <_start-0x7ff80001>
80000186: 6b89 lui s7,0x2
80000188: c25e sw s7,4(sp)
8000018a: 00080c37 lui s8,0x80
8000018e: fffc0c13 addi s8,s8,-1 # 7ffff <_start-0x7ff80001>
80000192: 6c3d lui s8,0xf
80000194: c462 sw s8,8(sp)
80000196: 00080cb7 lui s9,0x80
8000019a: fffc8c93 addi s9,s9,-1 # 7ffff <_start-0x7ff80001>
8000019e: 6cfd lui s9,0x1f
800001a0: c666 sw s9,12(sp)
800001a2: 00080d37 lui s10,0x80
800001a6: fffd0d13 addi s10,s10,-1 # 7ffff <_start-0x7ff80001>
800001aa: 7d7d lui s10,0xfffff
800001ac: c86a sw s10,16(sp)
800001ae: 00001117 auipc sp,0x1
800001b2: ea210113 addi sp,sp,-350 # 80001050 <test_5_res>
800001b6: 00080db7 lui s11,0x80
800001ba: 6d85 lui s11,0x1
800001bc: c06e sw s11,0(sp)
800001be: 00080e37 lui t3,0x80
800001c2: 6e09 lui t3,0x2
800001c4: c272 sw t3,4(sp)
800001c6: 00080eb7 lui t4,0x80
800001ca: 6ebd lui t4,0xf
800001cc: c476 sw t4,8(sp)
800001ce: 00080f37 lui t5,0x80
800001d2: 6f7d lui t5,0x1f
800001d4: c67a sw t5,12(sp)
800001d6: 00080fb7 lui t6,0x80
800001da: 7ffd lui t6,0xfffff
800001dc: c87e sw t6,16(sp)
800001de: 00001517 auipc a0,0x1
800001e2: e2250513 addi a0,a0,-478 # 80001000 <codasip_signature_start>
800001e6: 00001597 auipc a1,0x1
800001ea: e8a58593 addi a1,a1,-374 # 80001070 <_end>
800001ee: f0100637 lui a2,0xf0100
800001f2: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
800001f6 <complience_halt_loop>:
800001f6: 00b50c63 beq a0,a1,8000020e <complience_halt_break>
800001fa: 4554 lw a3,12(a0)
800001fc: c214 sw a3,0(a2)
800001fe: 4514 lw a3,8(a0)
80000200: c214 sw a3,0(a2)
80000202: 4154 lw a3,4(a0)
80000204: c214 sw a3,0(a2)
80000206: 4114 lw a3,0(a0)
80000208: c214 sw a3,0(a2)
8000020a: 0541 addi a0,a0,16
8000020c: b7ed j 800001f6 <complience_halt_loop>
8000020e <complience_halt_break>:
8000020e: f0100537 lui a0,0xf0100
80000212: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000216: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,263 @@
/home/spinalvm/hdl/riscv-compliance/work//C.LW.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 00001717 auipc a4,0x1
800000fa: f1e70713 addi a4,a4,-226 # 80001014 <test_data>
800000fe: 4318 lw a4,0(a4)
80000100: c03a sw a4,0(sp)
80000102: 00001117 auipc sp,0x1
80000106: f0210113 addi sp,sp,-254 # 80001004 <test_2_res>
8000010a: 00001797 auipc a5,0x1
8000010e: f0a78793 addi a5,a5,-246 # 80001014 <test_data>
80000112: 43dc lw a5,4(a5)
80000114: c03e sw a5,0(sp)
80000116: 00001117 auipc sp,0x1
8000011a: ef210113 addi sp,sp,-270 # 80001008 <test_3_res>
8000011e: 00001417 auipc s0,0x1
80000122: ef640413 addi s0,s0,-266 # 80001014 <test_data>
80000126: 4400 lw s0,8(s0)
80000128: c022 sw s0,0(sp)
8000012a: 00001117 auipc sp,0x1
8000012e: ee210113 addi sp,sp,-286 # 8000100c <test_4_res>
80000132: 00001497 auipc s1,0x1
80000136: ee248493 addi s1,s1,-286 # 80001014 <test_data>
8000013a: 50e4 lw s1,100(s1)
8000013c: c026 sw s1,0(sp)
8000013e: 00001117 auipc sp,0x1
80000142: ed210113 addi sp,sp,-302 # 80001010 <test_5_res>
80000146: 00001697 auipc a3,0x1
8000014a: ece68693 addi a3,a3,-306 # 80001014 <test_data>
8000014e: 5ef4 lw a3,124(a3)
80000150: c036 sw a3,0(sp)
80000152: 00001517 auipc a0,0x1
80000156: eae50513 addi a0,a0,-338 # 80001000 <codasip_signature_start>
8000015a: 00001597 auipc a1,0x1
8000015e: f4658593 addi a1,a1,-186 # 800010a0 <_end>
80000162: f0100637 lui a2,0xf0100
80000166: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee8c>
8000016a <complience_halt_loop>:
8000016a: 00b50c63 beq a0,a1,80000182 <complience_halt_break>
8000016e: 4554 lw a3,12(a0)
80000170: c214 sw a3,0(a2)
80000172: 4514 lw a3,8(a0)
80000174: c214 sw a3,0(a2)
80000176: 4154 lw a3,4(a0)
80000178: c214 sw a3,0(a2)
8000017a: 4114 lw a3,0(a0)
8000017c: c214 sw a3,0(a2)
8000017e: 0541 addi a0,a0,16
80000180: b7ed j 8000016a <complience_halt_loop>
80000182 <complience_halt_break>:
80000182: f0100537 lui a0,0xf0100
80000186: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee80>
8000018a: 00052023 sw zero,0(a0)
8000018e: 0000 unimp
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_data>:
80001014: 0000 unimp
80001016: 0000 unimp
80001018: 0001 nop
8000101a: 0000 unimp
8000101c: 0002 c.slli zero,0x0
8000101e: 0000 unimp
80001020: 00000003 lb zero,0(zero) # 0 <_start-0x80000000>
80001024: 0004 0x4
80001026: 0000 unimp
80001028: 0005 c.nop 1
8000102a: 0000 unimp
8000102c: 0006 c.slli zero,0x1
8000102e: 0000 unimp
80001030: 00000007 0x7
80001034: 0008 0x8
80001036: 0000 unimp
80001038: 0009 c.nop 2
8000103a: 0000 unimp
8000103c: 000a c.slli zero,0x2
8000103e: 0000 unimp
80001040: 0000000b 0xb
80001044: 000c 0xc
80001046: 0000 unimp
80001048: 000d c.nop 3
8000104a: 0000 unimp
8000104c: 000e c.slli zero,0x3
8000104e: 0000 unimp
80001050: 0000000f fence unknown,unknown
80001054: 0010 0x10
80001056: 0000 unimp
80001058: 0011 c.nop 4
8000105a: 0000 unimp
8000105c: 0012 c.slli zero,0x4
8000105e: 0000 unimp
80001060: 00000013 nop
80001064: 0014 0x14
80001066: 0000 unimp
80001068: 0015 c.nop 5
8000106a: 0000 unimp
8000106c: 0016 c.slli zero,0x5
8000106e: 0000 unimp
80001070: 00000017 auipc zero,0x0
80001074: 0018 0x18
80001076: 0000 unimp
80001078: 0019 c.nop 6
8000107a: 0000 unimp
8000107c: 001a c.slli zero,0x6
8000107e: 0000 unimp
80001080: 0000001b 0x1b
80001084: 001c 0x1c
80001086: 0000 unimp
80001088: 001d c.nop 7
8000108a: 0000 unimp
8000108c: 001e c.slli zero,0x7
8000108e: 0000 unimp
80001090: 001f 0000 0000 0x1f
...

View file

@ -0,0 +1,262 @@
/home/spinalvm/hdl/riscv-compliance/work//C.LWSP.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001097 auipc ra,0x1
800000f2: f1208093 addi ra,ra,-238 # 80001000 <codasip_signature_start>
800000f6: 00001117 auipc sp,0x1
800000fa: f1e10113 addi sp,sp,-226 # 80001014 <test_data>
800000fe: 4202 lw tp,0(sp)
80000100: 0040a023 sw tp,0(ra)
80000104: 00001097 auipc ra,0x1
80000108: f0008093 addi ra,ra,-256 # 80001004 <test_2_res>
8000010c: 00001117 auipc sp,0x1
80000110: f0810113 addi sp,sp,-248 # 80001014 <test_data>
80000114: 4412 lw s0,4(sp)
80000116: 0080a023 sw s0,0(ra)
8000011a: 00001097 auipc ra,0x1
8000011e: eee08093 addi ra,ra,-274 # 80001008 <test_3_res>
80000122: 00001117 auipc sp,0x1
80000126: ef210113 addi sp,sp,-270 # 80001014 <test_data>
8000012a: 4822 lw a6,8(sp)
8000012c: 0100a023 sw a6,0(ra)
80000130: 00001097 auipc ra,0x1
80000134: edc08093 addi ra,ra,-292 # 8000100c <test_4_res>
80000138: 00001117 auipc sp,0x1
8000013c: edc10113 addi sp,sp,-292 # 80001014 <test_data>
80000140: 5ff6 lw t6,124(sp)
80000142: 01f0a023 sw t6,0(ra)
80000146: 00001097 auipc ra,0x1
8000014a: eca08093 addi ra,ra,-310 # 80001010 <test_5_res>
8000014e: 00001117 auipc sp,0x1
80000152: ec610113 addi sp,sp,-314 # 80001014 <test_data>
80000156: 5afe lw s5,252(sp)
80000158: 0150a023 sw s5,0(ra)
8000015c: 00001517 auipc a0,0x1
80000160: ea450513 addi a0,a0,-348 # 80001000 <codasip_signature_start>
80000164: 00001597 auipc a1,0x1
80000168: f3c58593 addi a1,a1,-196 # 800010a0 <_end>
8000016c: f0100637 lui a2,0xf0100
80000170: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee8c>
80000174 <complience_halt_loop>:
80000174: 00b50c63 beq a0,a1,8000018c <complience_halt_break>
80000178: 4554 lw a3,12(a0)
8000017a: c214 sw a3,0(a2)
8000017c: 4514 lw a3,8(a0)
8000017e: c214 sw a3,0(a2)
80000180: 4154 lw a3,4(a0)
80000182: c214 sw a3,0(a2)
80000184: 4114 lw a3,0(a0)
80000186: c214 sw a3,0(a2)
80000188: 0541 addi a0,a0,16
8000018a: b7ed j 80000174 <complience_halt_loop>
8000018c <complience_halt_break>:
8000018c: f0100537 lui a0,0xf0100
80000190: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee80>
80000194: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_data>:
80001014: 0000 unimp
80001016: 0000 unimp
80001018: 0001 nop
8000101a: 0000 unimp
8000101c: 0002 c.slli zero,0x0
8000101e: 0000 unimp
80001020: 00000003 lb zero,0(zero) # 0 <_start-0x80000000>
80001024: 0004 0x4
80001026: 0000 unimp
80001028: 0005 c.nop 1
8000102a: 0000 unimp
8000102c: 0006 c.slli zero,0x1
8000102e: 0000 unimp
80001030: 00000007 0x7
80001034: 0008 0x8
80001036: 0000 unimp
80001038: 0009 c.nop 2
8000103a: 0000 unimp
8000103c: 000a c.slli zero,0x2
8000103e: 0000 unimp
80001040: 0000000b 0xb
80001044: 000c 0xc
80001046: 0000 unimp
80001048: 000d c.nop 3
8000104a: 0000 unimp
8000104c: 000e c.slli zero,0x3
8000104e: 0000 unimp
80001050: 0000000f fence unknown,unknown
80001054: 0010 0x10
80001056: 0000 unimp
80001058: 0011 c.nop 4
8000105a: 0000 unimp
8000105c: 0012 c.slli zero,0x4
8000105e: 0000 unimp
80001060: 00000013 nop
80001064: 0014 0x14
80001066: 0000 unimp
80001068: 0015 c.nop 5
8000106a: 0000 unimp
8000106c: 0016 c.slli zero,0x5
8000106e: 0000 unimp
80001070: 00000017 auipc zero,0x0
80001074: 0018 0x18
80001076: 0000 unimp
80001078: 0019 c.nop 6
8000107a: 0000 unimp
8000107c: 001a c.slli zero,0x6
8000107e: 0000 unimp
80001080: 0000001b 0x1b
80001084: 001c 0x1c
80001086: 0000 unimp
80001088: 001d c.nop 7
8000108a: 0000 unimp
8000108c: 001e c.slli zero,0x7
8000108e: 0000 unimp
80001090: 001f 0000 0000 0x1f
...

View file

@ -0,0 +1,334 @@
/home/spinalvm/hdl/riscv-compliance/work//C.MV.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4601 li a2,0
800000f8: 4581 li a1,0
800000fa: 85b2 mv a1,a2
800000fc: c02e sw a1,0(sp)
800000fe: 4701 li a4,0
80000100: 4685 li a3,1
80000102: 86ba mv a3,a4
80000104: c236 sw a3,4(sp)
80000106: 4401 li s0,0
80000108: fff00793 li a5,-1
8000010c: 87a2 mv a5,s0
8000010e: c43e sw a5,8(sp)
80000110: 4581 li a1,0
80000112: 000084b7 lui s1,0x8
80000116: fff48493 addi s1,s1,-1 # 7fff <_start-0x7fff8001>
8000011a: 84ae mv s1,a1
8000011c: c626 sw s1,12(sp)
8000011e: 4681 li a3,0
80000120: 6621 lui a2,0x8
80000122: 8636 mv a2,a3
80000124: c832 sw a2,16(sp)
80000126: 00001117 auipc sp,0x1
8000012a: eee10113 addi sp,sp,-274 # 80001014 <test_2_res>
8000012e: 4785 li a5,1
80000130: 4701 li a4,0
80000132: 873e mv a4,a5
80000134: c03a sw a4,0(sp)
80000136: 4485 li s1,1
80000138: 4405 li s0,1
8000013a: 8426 mv s0,s1
8000013c: c222 sw s0,4(sp)
8000013e: 4605 li a2,1
80000140: fff00593 li a1,-1
80000144: 85b2 mv a1,a2
80000146: c42e sw a1,8(sp)
80000148: 4705 li a4,1
8000014a: 000086b7 lui a3,0x8
8000014e: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
80000152: 86ba mv a3,a4
80000154: c636 sw a3,12(sp)
80000156: 4405 li s0,1
80000158: 67a1 lui a5,0x8
8000015a: 87a2 mv a5,s0
8000015c: c83e sw a5,16(sp)
8000015e: 00001117 auipc sp,0x1
80000162: eca10113 addi sp,sp,-310 # 80001028 <test_3_res>
80000166: fff00593 li a1,-1
8000016a: 4481 li s1,0
8000016c: 84ae mv s1,a1
8000016e: c026 sw s1,0(sp)
80000170: fff00693 li a3,-1
80000174: 4605 li a2,1
80000176: 8636 mv a2,a3
80000178: c232 sw a2,4(sp)
8000017a: fff00793 li a5,-1
8000017e: fff00713 li a4,-1
80000182: 873e mv a4,a5
80000184: c43a sw a4,8(sp)
80000186: fff00493 li s1,-1
8000018a: 00008437 lui s0,0x8
8000018e: fff40413 addi s0,s0,-1 # 7fff <_start-0x7fff8001>
80000192: 8426 mv s0,s1
80000194: c622 sw s0,12(sp)
80000196: fff00613 li a2,-1
8000019a: 65a1 lui a1,0x8
8000019c: 85b2 mv a1,a2
8000019e: c82e sw a1,16(sp)
800001a0: 00001117 auipc sp,0x1
800001a4: e9c10113 addi sp,sp,-356 # 8000103c <test_4_res>
800001a8: 00008737 lui a4,0x8
800001ac: fff70713 addi a4,a4,-1 # 7fff <_start-0x7fff8001>
800001b0: 4681 li a3,0
800001b2: 86ba mv a3,a4
800001b4: c036 sw a3,0(sp)
800001b6: 00008437 lui s0,0x8
800001ba: fff40413 addi s0,s0,-1 # 7fff <_start-0x7fff8001>
800001be: 4785 li a5,1
800001c0: 87a2 mv a5,s0
800001c2: c23e sw a5,4(sp)
800001c4: 000085b7 lui a1,0x8
800001c8: fff58593 addi a1,a1,-1 # 7fff <_start-0x7fff8001>
800001cc: fff00493 li s1,-1
800001d0: 84ae mv s1,a1
800001d2: c426 sw s1,8(sp)
800001d4: 000086b7 lui a3,0x8
800001d8: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
800001dc: 00008637 lui a2,0x8
800001e0: fff60613 addi a2,a2,-1 # 7fff <_start-0x7fff8001>
800001e4: 8636 mv a2,a3
800001e6: c632 sw a2,12(sp)
800001e8: 000087b7 lui a5,0x8
800001ec: fff78793 addi a5,a5,-1 # 7fff <_start-0x7fff8001>
800001f0: 6721 lui a4,0x8
800001f2: 873e mv a4,a5
800001f4: c83a sw a4,16(sp)
800001f6: 00001117 auipc sp,0x1
800001fa: e5a10113 addi sp,sp,-422 # 80001050 <test_5_res>
800001fe: 64a1 lui s1,0x8
80000200: 4401 li s0,0
80000202: 8426 mv s0,s1
80000204: c022 sw s0,0(sp)
80000206: 6621 lui a2,0x8
80000208: 4585 li a1,1
8000020a: 85b2 mv a1,a2
8000020c: c22e sw a1,4(sp)
8000020e: 6721 lui a4,0x8
80000210: fff00693 li a3,-1
80000214: 86ba mv a3,a4
80000216: c436 sw a3,8(sp)
80000218: 6421 lui s0,0x8
8000021a: 000087b7 lui a5,0x8
8000021e: fff78793 addi a5,a5,-1 # 7fff <_start-0x7fff8001>
80000222: 87a2 mv a5,s0
80000224: c63e sw a5,12(sp)
80000226: 65a1 lui a1,0x8
80000228: 64a1 lui s1,0x8
8000022a: 84ae mv s1,a1
8000022c: c826 sw s1,16(sp)
8000022e: 00001517 auipc a0,0x1
80000232: dd250513 addi a0,a0,-558 # 80001000 <codasip_signature_start>
80000236: 00001597 auipc a1,0x1
8000023a: e3a58593 addi a1,a1,-454 # 80001070 <_end>
8000023e: f0100637 lui a2,0xf0100
80000242: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
80000246 <complience_halt_loop>:
80000246: 00b50c63 beq a0,a1,8000025e <complience_halt_break>
8000024a: 4554 lw a3,12(a0)
8000024c: c214 sw a3,0(a2)
8000024e: 4514 lw a3,8(a0)
80000250: c214 sw a3,0(a2)
80000252: 4154 lw a3,4(a0)
80000254: c214 sw a3,0(a2)
80000256: 4114 lw a3,0(a0)
80000258: c214 sw a3,0(a2)
8000025a: 0541 addi a0,a0,16
8000025c: b7ed j 80000246 <complience_halt_loop>
8000025e <complience_halt_break>:
8000025e: f0100537 lui a0,0xf0100
80000262: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000266: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,334 @@
/home/spinalvm/hdl/riscv-compliance/work//C.OR.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4401 li s0,0
800000f8: 4781 li a5,0
800000fa: 8fc1 or a5,a5,s0
800000fc: c03e sw a5,0(sp)
800000fe: 4581 li a1,0
80000100: 4485 li s1,1
80000102: 8ccd or s1,s1,a1
80000104: c226 sw s1,4(sp)
80000106: 4681 li a3,0
80000108: fff00613 li a2,-1
8000010c: 8e55 or a2,a2,a3
8000010e: c432 sw a2,8(sp)
80000110: 4781 li a5,0
80000112: 00008737 lui a4,0x8
80000116: fff70713 addi a4,a4,-1 # 7fff <_start-0x7fff8001>
8000011a: 8f5d or a4,a4,a5
8000011c: c63a sw a4,12(sp)
8000011e: 4481 li s1,0
80000120: 6421 lui s0,0x8
80000122: 8c45 or s0,s0,s1
80000124: c822 sw s0,16(sp)
80000126: 00001117 auipc sp,0x1
8000012a: eee10113 addi sp,sp,-274 # 80001014 <test_2_res>
8000012e: 4605 li a2,1
80000130: 4581 li a1,0
80000132: 8dd1 or a1,a1,a2
80000134: c02e sw a1,0(sp)
80000136: 4705 li a4,1
80000138: 4685 li a3,1
8000013a: 8ed9 or a3,a3,a4
8000013c: c236 sw a3,4(sp)
8000013e: 4405 li s0,1
80000140: fff00793 li a5,-1
80000144: 8fc1 or a5,a5,s0
80000146: c43e sw a5,8(sp)
80000148: 4585 li a1,1
8000014a: 000084b7 lui s1,0x8
8000014e: fff48493 addi s1,s1,-1 # 7fff <_start-0x7fff8001>
80000152: 8ccd or s1,s1,a1
80000154: c626 sw s1,12(sp)
80000156: 4685 li a3,1
80000158: 6621 lui a2,0x8
8000015a: 8e55 or a2,a2,a3
8000015c: c832 sw a2,16(sp)
8000015e: 00001117 auipc sp,0x1
80000162: eca10113 addi sp,sp,-310 # 80001028 <test_3_res>
80000166: fff00793 li a5,-1
8000016a: 4701 li a4,0
8000016c: 8f5d or a4,a4,a5
8000016e: c03a sw a4,0(sp)
80000170: fff00493 li s1,-1
80000174: 4405 li s0,1
80000176: 8c45 or s0,s0,s1
80000178: c222 sw s0,4(sp)
8000017a: fff00613 li a2,-1
8000017e: fff00593 li a1,-1
80000182: 8dd1 or a1,a1,a2
80000184: c42e sw a1,8(sp)
80000186: fff00713 li a4,-1
8000018a: 000086b7 lui a3,0x8
8000018e: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
80000192: 8ed9 or a3,a3,a4
80000194: c636 sw a3,12(sp)
80000196: fff00413 li s0,-1
8000019a: 67a1 lui a5,0x8
8000019c: 8fc1 or a5,a5,s0
8000019e: c83e sw a5,16(sp)
800001a0: 00001117 auipc sp,0x1
800001a4: e9c10113 addi sp,sp,-356 # 8000103c <test_4_res>
800001a8: 000085b7 lui a1,0x8
800001ac: fff58593 addi a1,a1,-1 # 7fff <_start-0x7fff8001>
800001b0: 4481 li s1,0
800001b2: 8ccd or s1,s1,a1
800001b4: c026 sw s1,0(sp)
800001b6: 000086b7 lui a3,0x8
800001ba: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
800001be: 4605 li a2,1
800001c0: 8e55 or a2,a2,a3
800001c2: c232 sw a2,4(sp)
800001c4: 000087b7 lui a5,0x8
800001c8: fff78793 addi a5,a5,-1 # 7fff <_start-0x7fff8001>
800001cc: fff00713 li a4,-1
800001d0: 8f5d or a4,a4,a5
800001d2: c43a sw a4,8(sp)
800001d4: 000084b7 lui s1,0x8
800001d8: fff48493 addi s1,s1,-1 # 7fff <_start-0x7fff8001>
800001dc: 00008437 lui s0,0x8
800001e0: fff40413 addi s0,s0,-1 # 7fff <_start-0x7fff8001>
800001e4: 8c45 or s0,s0,s1
800001e6: c622 sw s0,12(sp)
800001e8: 00008637 lui a2,0x8
800001ec: fff60613 addi a2,a2,-1 # 7fff <_start-0x7fff8001>
800001f0: 65a1 lui a1,0x8
800001f2: 8dd1 or a1,a1,a2
800001f4: c82e sw a1,16(sp)
800001f6: 00001117 auipc sp,0x1
800001fa: e5a10113 addi sp,sp,-422 # 80001050 <test_5_res>
800001fe: 6721 lui a4,0x8
80000200: 4681 li a3,0
80000202: 8ed9 or a3,a3,a4
80000204: c036 sw a3,0(sp)
80000206: 6421 lui s0,0x8
80000208: 4785 li a5,1
8000020a: 8fc1 or a5,a5,s0
8000020c: c23e sw a5,4(sp)
8000020e: 65a1 lui a1,0x8
80000210: fff00493 li s1,-1
80000214: 8ccd or s1,s1,a1
80000216: c426 sw s1,8(sp)
80000218: 66a1 lui a3,0x8
8000021a: 00008637 lui a2,0x8
8000021e: fff60613 addi a2,a2,-1 # 7fff <_start-0x7fff8001>
80000222: 8e55 or a2,a2,a3
80000224: c632 sw a2,12(sp)
80000226: 67a1 lui a5,0x8
80000228: 6721 lui a4,0x8
8000022a: 8f5d or a4,a4,a5
8000022c: c83a sw a4,16(sp)
8000022e: 00001517 auipc a0,0x1
80000232: dd250513 addi a0,a0,-558 # 80001000 <codasip_signature_start>
80000236: 00001597 auipc a1,0x1
8000023a: e3a58593 addi a1,a1,-454 # 80001070 <_end>
8000023e: f0100637 lui a2,0xf0100
80000242: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
80000246 <complience_halt_loop>:
80000246: 00b50c63 beq a0,a1,8000025e <complience_halt_break>
8000024a: 4554 lw a3,12(a0)
8000024c: c214 sw a3,0(a2)
8000024e: 4514 lw a3,8(a0)
80000250: c214 sw a3,0(a2)
80000252: 4154 lw a3,4(a0)
80000254: c214 sw a3,0(a2)
80000256: 4114 lw a3,0(a0)
80000258: c214 sw a3,0(a2)
8000025a: 0541 addi a0,a0,16
8000025c: b7ed j 80000246 <complience_halt_loop>
8000025e <complience_halt_break>:
8000025e: f0100537 lui a0,0xf0100
80000262: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000266: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,304 @@
/home/spinalvm/hdl/riscv-compliance/work//C.SLLI.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4181 li gp,0
800000f8: 0186 slli gp,gp,0x1
800000fa: c00e sw gp,0(sp)
800000fc: 4201 li tp,0
800000fe: 020a slli tp,tp,0x2
80000100: c212 sw tp,4(sp)
80000102: 4401 li s0,0
80000104: 043e slli s0,s0,0xf
80000106: c422 sw s0,8(sp)
80000108: 4481 li s1,0
8000010a: 04c2 slli s1,s1,0x10
8000010c: c626 sw s1,12(sp)
8000010e: 4581 li a1,0
80000110: 05fe slli a1,a1,0x1f
80000112: c82e sw a1,16(sp)
80000114: 00001117 auipc sp,0x1
80000118: f0010113 addi sp,sp,-256 # 80001014 <test_2_res>
8000011c: 4605 li a2,1
8000011e: 0606 slli a2,a2,0x1
80000120: c032 sw a2,0(sp)
80000122: 4685 li a3,1
80000124: 068a slli a3,a3,0x2
80000126: c236 sw a3,4(sp)
80000128: 4705 li a4,1
8000012a: 073e slli a4,a4,0xf
8000012c: c43a sw a4,8(sp)
8000012e: 4785 li a5,1
80000130: 07c2 slli a5,a5,0x10
80000132: c63e sw a5,12(sp)
80000134: 4805 li a6,1
80000136: 087e slli a6,a6,0x1f
80000138: c842 sw a6,16(sp)
8000013a: 00001117 auipc sp,0x1
8000013e: eee10113 addi sp,sp,-274 # 80001028 <test_3_res>
80000142: fff00893 li a7,-1
80000146: 0886 slli a7,a7,0x1
80000148: c046 sw a7,0(sp)
8000014a: fff00913 li s2,-1
8000014e: 090a slli s2,s2,0x2
80000150: c24a sw s2,4(sp)
80000152: fff00993 li s3,-1
80000156: 09be slli s3,s3,0xf
80000158: c44e sw s3,8(sp)
8000015a: fff00a13 li s4,-1
8000015e: 0a42 slli s4,s4,0x10
80000160: c652 sw s4,12(sp)
80000162: fff00a93 li s5,-1
80000166: 0afe slli s5,s5,0x1f
80000168: c856 sw s5,16(sp)
8000016a: 00001117 auipc sp,0x1
8000016e: ed210113 addi sp,sp,-302 # 8000103c <test_4_res>
80000172: 00080b37 lui s6,0x80
80000176: fffb0b13 addi s6,s6,-1 # 7ffff <_start-0x7ff80001>
8000017a: 0b06 slli s6,s6,0x1
8000017c: c05a sw s6,0(sp)
8000017e: 00080bb7 lui s7,0x80
80000182: fffb8b93 addi s7,s7,-1 # 7ffff <_start-0x7ff80001>
80000186: 0b8a slli s7,s7,0x2
80000188: c25e sw s7,4(sp)
8000018a: 00080c37 lui s8,0x80
8000018e: fffc0c13 addi s8,s8,-1 # 7ffff <_start-0x7ff80001>
80000192: 0c3e slli s8,s8,0xf
80000194: c462 sw s8,8(sp)
80000196: 00080cb7 lui s9,0x80
8000019a: fffc8c93 addi s9,s9,-1 # 7ffff <_start-0x7ff80001>
8000019e: 0cc2 slli s9,s9,0x10
800001a0: c666 sw s9,12(sp)
800001a2: 00080d37 lui s10,0x80
800001a6: fffd0d13 addi s10,s10,-1 # 7ffff <_start-0x7ff80001>
800001aa: 0d7e slli s10,s10,0x1f
800001ac: c86a sw s10,16(sp)
800001ae: 00001117 auipc sp,0x1
800001b2: ea210113 addi sp,sp,-350 # 80001050 <test_5_res>
800001b6: 00080db7 lui s11,0x80
800001ba: 0d86 slli s11,s11,0x1
800001bc: c06e sw s11,0(sp)
800001be: 00080e37 lui t3,0x80
800001c2: 0e0a slli t3,t3,0x2
800001c4: c272 sw t3,4(sp)
800001c6: 00080eb7 lui t4,0x80
800001ca: 0ebe slli t4,t4,0xf
800001cc: c476 sw t4,8(sp)
800001ce: 00080f37 lui t5,0x80
800001d2: 0f42 slli t5,t5,0x10
800001d4: c67a sw t5,12(sp)
800001d6: 00080fb7 lui t6,0x80
800001da: 0ffe slli t6,t6,0x1f
800001dc: c87e sw t6,16(sp)
800001de: 00001517 auipc a0,0x1
800001e2: e2250513 addi a0,a0,-478 # 80001000 <codasip_signature_start>
800001e6: 00001597 auipc a1,0x1
800001ea: e8a58593 addi a1,a1,-374 # 80001070 <_end>
800001ee: f0100637 lui a2,0xf0100
800001f2: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
800001f6 <complience_halt_loop>:
800001f6: 00b50c63 beq a0,a1,8000020e <complience_halt_break>
800001fa: 4554 lw a3,12(a0)
800001fc: c214 sw a3,0(a2)
800001fe: 4514 lw a3,8(a0)
80000200: c214 sw a3,0(a2)
80000202: 4154 lw a3,4(a0)
80000204: c214 sw a3,0(a2)
80000206: 4114 lw a3,0(a0)
80000208: c214 sw a3,0(a2)
8000020a: 0541 addi a0,a0,16
8000020c: b7ed j 800001f6 <complience_halt_loop>
8000020e <complience_halt_break>:
8000020e: f0100537 lui a0,0xf0100
80000212: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000216: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,304 @@
/home/spinalvm/hdl/riscv-compliance/work//C.SRAI.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4481 li s1,0
800000f8: 8485 srai s1,s1,0x1
800000fa: c026 sw s1,0(sp)
800000fc: 4581 li a1,0
800000fe: 8589 srai a1,a1,0x2
80000100: c22e sw a1,4(sp)
80000102: 4601 li a2,0
80000104: 863d srai a2,a2,0xf
80000106: c432 sw a2,8(sp)
80000108: 4681 li a3,0
8000010a: 86c1 srai a3,a3,0x10
8000010c: c636 sw a3,12(sp)
8000010e: 4701 li a4,0
80000110: 877d srai a4,a4,0x1f
80000112: c83a sw a4,16(sp)
80000114: 00001117 auipc sp,0x1
80000118: f0010113 addi sp,sp,-256 # 80001014 <test_2_res>
8000011c: 4785 li a5,1
8000011e: 8785 srai a5,a5,0x1
80000120: c03e sw a5,0(sp)
80000122: 4405 li s0,1
80000124: 8409 srai s0,s0,0x2
80000126: c222 sw s0,4(sp)
80000128: 4485 li s1,1
8000012a: 84bd srai s1,s1,0xf
8000012c: c426 sw s1,8(sp)
8000012e: 4585 li a1,1
80000130: 85c1 srai a1,a1,0x10
80000132: c62e sw a1,12(sp)
80000134: 4605 li a2,1
80000136: 867d srai a2,a2,0x1f
80000138: c832 sw a2,16(sp)
8000013a: 00001117 auipc sp,0x1
8000013e: eee10113 addi sp,sp,-274 # 80001028 <test_3_res>
80000142: fff00693 li a3,-1
80000146: 8685 srai a3,a3,0x1
80000148: c036 sw a3,0(sp)
8000014a: fff00713 li a4,-1
8000014e: 8709 srai a4,a4,0x2
80000150: c23a sw a4,4(sp)
80000152: fff00793 li a5,-1
80000156: 87bd srai a5,a5,0xf
80000158: c43e sw a5,8(sp)
8000015a: fff00413 li s0,-1
8000015e: 8441 srai s0,s0,0x10
80000160: c622 sw s0,12(sp)
80000162: fff00493 li s1,-1
80000166: 84fd srai s1,s1,0x1f
80000168: c826 sw s1,16(sp)
8000016a: 00001117 auipc sp,0x1
8000016e: ed210113 addi sp,sp,-302 # 8000103c <test_4_res>
80000172: 000805b7 lui a1,0x80
80000176: fff58593 addi a1,a1,-1 # 7ffff <_start-0x7ff80001>
8000017a: 8585 srai a1,a1,0x1
8000017c: c02e sw a1,0(sp)
8000017e: 00080637 lui a2,0x80
80000182: fff60613 addi a2,a2,-1 # 7ffff <_start-0x7ff80001>
80000186: 8609 srai a2,a2,0x2
80000188: c232 sw a2,4(sp)
8000018a: 000806b7 lui a3,0x80
8000018e: fff68693 addi a3,a3,-1 # 7ffff <_start-0x7ff80001>
80000192: 86bd srai a3,a3,0xf
80000194: c436 sw a3,8(sp)
80000196: 00080737 lui a4,0x80
8000019a: fff70713 addi a4,a4,-1 # 7ffff <_start-0x7ff80001>
8000019e: 8741 srai a4,a4,0x10
800001a0: c63a sw a4,12(sp)
800001a2: 000807b7 lui a5,0x80
800001a6: fff78793 addi a5,a5,-1 # 7ffff <_start-0x7ff80001>
800001aa: 87fd srai a5,a5,0x1f
800001ac: c83e sw a5,16(sp)
800001ae: 00001117 auipc sp,0x1
800001b2: ea210113 addi sp,sp,-350 # 80001050 <test_5_res>
800001b6: 00080437 lui s0,0x80
800001ba: 8405 srai s0,s0,0x1
800001bc: c022 sw s0,0(sp)
800001be: 000804b7 lui s1,0x80
800001c2: 8489 srai s1,s1,0x2
800001c4: c226 sw s1,4(sp)
800001c6: 000805b7 lui a1,0x80
800001ca: 85bd srai a1,a1,0xf
800001cc: c42e sw a1,8(sp)
800001ce: 00080637 lui a2,0x80
800001d2: 8641 srai a2,a2,0x10
800001d4: c632 sw a2,12(sp)
800001d6: 000806b7 lui a3,0x80
800001da: 86fd srai a3,a3,0x1f
800001dc: c836 sw a3,16(sp)
800001de: 00001517 auipc a0,0x1
800001e2: e2250513 addi a0,a0,-478 # 80001000 <codasip_signature_start>
800001e6: 00001597 auipc a1,0x1
800001ea: e8a58593 addi a1,a1,-374 # 80001070 <_end>
800001ee: f0100637 lui a2,0xf0100
800001f2: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
800001f6 <complience_halt_loop>:
800001f6: 00b50c63 beq a0,a1,8000020e <complience_halt_break>
800001fa: 4554 lw a3,12(a0)
800001fc: c214 sw a3,0(a2)
800001fe: 4514 lw a3,8(a0)
80000200: c214 sw a3,0(a2)
80000202: 4154 lw a3,4(a0)
80000204: c214 sw a3,0(a2)
80000206: 4114 lw a3,0(a0)
80000208: c214 sw a3,0(a2)
8000020a: 0541 addi a0,a0,16
8000020c: b7ed j 800001f6 <complience_halt_loop>
8000020e <complience_halt_break>:
8000020e: f0100537 lui a0,0xf0100
80000212: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000216: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,304 @@
/home/spinalvm/hdl/riscv-compliance/work//C.SRLI.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4701 li a4,0
800000f8: 8305 srli a4,a4,0x1
800000fa: c03a sw a4,0(sp)
800000fc: 4781 li a5,0
800000fe: 8389 srli a5,a5,0x2
80000100: c23e sw a5,4(sp)
80000102: 4401 li s0,0
80000104: 803d srli s0,s0,0xf
80000106: c422 sw s0,8(sp)
80000108: 4481 li s1,0
8000010a: 80c1 srli s1,s1,0x10
8000010c: c626 sw s1,12(sp)
8000010e: 4581 li a1,0
80000110: 81fd srli a1,a1,0x1f
80000112: c82e sw a1,16(sp)
80000114: 00001117 auipc sp,0x1
80000118: f0010113 addi sp,sp,-256 # 80001014 <test_2_res>
8000011c: 4605 li a2,1
8000011e: 8205 srli a2,a2,0x1
80000120: c032 sw a2,0(sp)
80000122: 4685 li a3,1
80000124: 8289 srli a3,a3,0x2
80000126: c236 sw a3,4(sp)
80000128: 4705 li a4,1
8000012a: 833d srli a4,a4,0xf
8000012c: c43a sw a4,8(sp)
8000012e: 4785 li a5,1
80000130: 83c1 srli a5,a5,0x10
80000132: c63e sw a5,12(sp)
80000134: 4405 li s0,1
80000136: 807d srli s0,s0,0x1f
80000138: c822 sw s0,16(sp)
8000013a: 00001117 auipc sp,0x1
8000013e: eee10113 addi sp,sp,-274 # 80001028 <test_3_res>
80000142: fff00493 li s1,-1
80000146: 8085 srli s1,s1,0x1
80000148: c026 sw s1,0(sp)
8000014a: fff00593 li a1,-1
8000014e: 8189 srli a1,a1,0x2
80000150: c22e sw a1,4(sp)
80000152: fff00613 li a2,-1
80000156: 823d srli a2,a2,0xf
80000158: c432 sw a2,8(sp)
8000015a: fff00693 li a3,-1
8000015e: 82c1 srli a3,a3,0x10
80000160: c636 sw a3,12(sp)
80000162: fff00713 li a4,-1
80000166: 837d srli a4,a4,0x1f
80000168: c83a sw a4,16(sp)
8000016a: 00001117 auipc sp,0x1
8000016e: ed210113 addi sp,sp,-302 # 8000103c <test_4_res>
80000172: 000807b7 lui a5,0x80
80000176: fff78793 addi a5,a5,-1 # 7ffff <_start-0x7ff80001>
8000017a: 8385 srli a5,a5,0x1
8000017c: c03e sw a5,0(sp)
8000017e: 00080437 lui s0,0x80
80000182: fff40413 addi s0,s0,-1 # 7ffff <_start-0x7ff80001>
80000186: 8009 srli s0,s0,0x2
80000188: c222 sw s0,4(sp)
8000018a: 000804b7 lui s1,0x80
8000018e: fff48493 addi s1,s1,-1 # 7ffff <_start-0x7ff80001>
80000192: 80bd srli s1,s1,0xf
80000194: c426 sw s1,8(sp)
80000196: 000805b7 lui a1,0x80
8000019a: fff58593 addi a1,a1,-1 # 7ffff <_start-0x7ff80001>
8000019e: 81c1 srli a1,a1,0x10
800001a0: c62e sw a1,12(sp)
800001a2: 00080637 lui a2,0x80
800001a6: fff60613 addi a2,a2,-1 # 7ffff <_start-0x7ff80001>
800001aa: 827d srli a2,a2,0x1f
800001ac: c832 sw a2,16(sp)
800001ae: 00001117 auipc sp,0x1
800001b2: ea210113 addi sp,sp,-350 # 80001050 <test_5_res>
800001b6: 000806b7 lui a3,0x80
800001ba: 8285 srli a3,a3,0x1
800001bc: c036 sw a3,0(sp)
800001be: 00080737 lui a4,0x80
800001c2: 8309 srli a4,a4,0x2
800001c4: c23a sw a4,4(sp)
800001c6: 000807b7 lui a5,0x80
800001ca: 83bd srli a5,a5,0xf
800001cc: c43e sw a5,8(sp)
800001ce: 00080437 lui s0,0x80
800001d2: 8041 srli s0,s0,0x10
800001d4: c622 sw s0,12(sp)
800001d6: 000804b7 lui s1,0x80
800001da: 80fd srli s1,s1,0x1f
800001dc: c826 sw s1,16(sp)
800001de: 00001517 auipc a0,0x1
800001e2: e2250513 addi a0,a0,-478 # 80001000 <codasip_signature_start>
800001e6: 00001597 auipc a1,0x1
800001ea: e8a58593 addi a1,a1,-374 # 80001070 <_end>
800001ee: f0100637 lui a2,0xf0100
800001f2: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
800001f6 <complience_halt_loop>:
800001f6: 00b50c63 beq a0,a1,8000020e <complience_halt_break>
800001fa: 4554 lw a3,12(a0)
800001fc: c214 sw a3,0(a2)
800001fe: 4514 lw a3,8(a0)
80000200: c214 sw a3,0(a2)
80000202: 4154 lw a3,4(a0)
80000204: c214 sw a3,0(a2)
80000206: 4114 lw a3,0(a0)
80000208: c214 sw a3,0(a2)
8000020a: 0541 addi a0,a0,16
8000020c: b7ed j 800001f6 <complience_halt_loop>
8000020e <complience_halt_break>:
8000020e: f0100537 lui a0,0xf0100
80000212: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000216: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,334 @@
/home/spinalvm/hdl/riscv-compliance/work//C.SUB.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4581 li a1,0
800000f8: 4481 li s1,0
800000fa: 8c8d sub s1,s1,a1
800000fc: c026 sw s1,0(sp)
800000fe: 4681 li a3,0
80000100: 4605 li a2,1
80000102: 8e15 sub a2,a2,a3
80000104: c232 sw a2,4(sp)
80000106: 4781 li a5,0
80000108: fff00713 li a4,-1
8000010c: 8f1d sub a4,a4,a5
8000010e: c43a sw a4,8(sp)
80000110: 4481 li s1,0
80000112: 00008437 lui s0,0x8
80000116: fff40413 addi s0,s0,-1 # 7fff <_start-0x7fff8001>
8000011a: 8c05 sub s0,s0,s1
8000011c: c622 sw s0,12(sp)
8000011e: 4601 li a2,0
80000120: 65a1 lui a1,0x8
80000122: 8d91 sub a1,a1,a2
80000124: c82e sw a1,16(sp)
80000126: 00001117 auipc sp,0x1
8000012a: eee10113 addi sp,sp,-274 # 80001014 <test_2_res>
8000012e: 4705 li a4,1
80000130: 4681 li a3,0
80000132: 8e99 sub a3,a3,a4
80000134: c036 sw a3,0(sp)
80000136: 4405 li s0,1
80000138: 4785 li a5,1
8000013a: 8f81 sub a5,a5,s0
8000013c: c23e sw a5,4(sp)
8000013e: 4585 li a1,1
80000140: fff00493 li s1,-1
80000144: 8c8d sub s1,s1,a1
80000146: c426 sw s1,8(sp)
80000148: 4685 li a3,1
8000014a: 00008637 lui a2,0x8
8000014e: fff60613 addi a2,a2,-1 # 7fff <_start-0x7fff8001>
80000152: 8e15 sub a2,a2,a3
80000154: c632 sw a2,12(sp)
80000156: 4785 li a5,1
80000158: 6721 lui a4,0x8
8000015a: 8f1d sub a4,a4,a5
8000015c: c83a sw a4,16(sp)
8000015e: 00001117 auipc sp,0x1
80000162: eca10113 addi sp,sp,-310 # 80001028 <test_3_res>
80000166: fff00493 li s1,-1
8000016a: 4401 li s0,0
8000016c: 8c05 sub s0,s0,s1
8000016e: c022 sw s0,0(sp)
80000170: fff00613 li a2,-1
80000174: 4585 li a1,1
80000176: 8d91 sub a1,a1,a2
80000178: c22e sw a1,4(sp)
8000017a: fff00713 li a4,-1
8000017e: fff00693 li a3,-1
80000182: 8e99 sub a3,a3,a4
80000184: c436 sw a3,8(sp)
80000186: fff00413 li s0,-1
8000018a: 000087b7 lui a5,0x8
8000018e: fff78793 addi a5,a5,-1 # 7fff <_start-0x7fff8001>
80000192: 8f81 sub a5,a5,s0
80000194: c63e sw a5,12(sp)
80000196: fff00593 li a1,-1
8000019a: 64a1 lui s1,0x8
8000019c: 8c8d sub s1,s1,a1
8000019e: c826 sw s1,16(sp)
800001a0: 00001117 auipc sp,0x1
800001a4: e9c10113 addi sp,sp,-356 # 8000103c <test_4_res>
800001a8: 000086b7 lui a3,0x8
800001ac: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
800001b0: 4601 li a2,0
800001b2: 8e15 sub a2,a2,a3
800001b4: c032 sw a2,0(sp)
800001b6: 000087b7 lui a5,0x8
800001ba: fff78793 addi a5,a5,-1 # 7fff <_start-0x7fff8001>
800001be: 4705 li a4,1
800001c0: 8f1d sub a4,a4,a5
800001c2: c23a sw a4,4(sp)
800001c4: 000084b7 lui s1,0x8
800001c8: fff48493 addi s1,s1,-1 # 7fff <_start-0x7fff8001>
800001cc: fff00413 li s0,-1
800001d0: 8c05 sub s0,s0,s1
800001d2: c422 sw s0,8(sp)
800001d4: 00008637 lui a2,0x8
800001d8: fff60613 addi a2,a2,-1 # 7fff <_start-0x7fff8001>
800001dc: 000085b7 lui a1,0x8
800001e0: fff58593 addi a1,a1,-1 # 7fff <_start-0x7fff8001>
800001e4: 8d91 sub a1,a1,a2
800001e6: c62e sw a1,12(sp)
800001e8: 00008737 lui a4,0x8
800001ec: fff70713 addi a4,a4,-1 # 7fff <_start-0x7fff8001>
800001f0: 66a1 lui a3,0x8
800001f2: 8e99 sub a3,a3,a4
800001f4: c836 sw a3,16(sp)
800001f6: 00001117 auipc sp,0x1
800001fa: e5a10113 addi sp,sp,-422 # 80001050 <test_5_res>
800001fe: 6421 lui s0,0x8
80000200: 4781 li a5,0
80000202: 8f81 sub a5,a5,s0
80000204: c03e sw a5,0(sp)
80000206: 65a1 lui a1,0x8
80000208: 4485 li s1,1
8000020a: 8c8d sub s1,s1,a1
8000020c: c226 sw s1,4(sp)
8000020e: 66a1 lui a3,0x8
80000210: fff00613 li a2,-1
80000214: 8e15 sub a2,a2,a3
80000216: c432 sw a2,8(sp)
80000218: 67a1 lui a5,0x8
8000021a: 00008737 lui a4,0x8
8000021e: fff70713 addi a4,a4,-1 # 7fff <_start-0x7fff8001>
80000222: 8f1d sub a4,a4,a5
80000224: c63a sw a4,12(sp)
80000226: 64a1 lui s1,0x8
80000228: 6421 lui s0,0x8
8000022a: 8c05 sub s0,s0,s1
8000022c: c822 sw s0,16(sp)
8000022e: 00001517 auipc a0,0x1
80000232: dd250513 addi a0,a0,-558 # 80001000 <codasip_signature_start>
80000236: 00001597 auipc a1,0x1
8000023a: e3a58593 addi a1,a1,-454 # 80001070 <_end>
8000023e: f0100637 lui a2,0xf0100
80000242: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
80000246 <complience_halt_loop>:
80000246: 00b50c63 beq a0,a1,8000025e <complience_halt_break>
8000024a: 4554 lw a3,12(a0)
8000024c: c214 sw a3,0(a2)
8000024e: 4514 lw a3,8(a0)
80000250: c214 sw a3,0(a2)
80000252: 4154 lw a3,4(a0)
80000254: c214 sw a3,0(a2)
80000256: 4114 lw a3,0(a0)
80000258: c214 sw a3,0(a2)
8000025a: 0541 addi a0,a0,16
8000025c: b7ed j 80000246 <complience_halt_loop>
8000025e <complience_halt_break>:
8000025e: f0100537 lui a0,0xf0100
80000262: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000266: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,281 @@
/home/spinalvm/hdl/riscv-compliance/work//C.SW.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4401 li s0,0
800000f8: 00001617 auipc a2,0x1
800000fc: f1c60613 addi a2,a2,-228 # 80001014 <test_data>
80000100: c200 sw s0,0(a2)
80000102: 4200 lw s0,0(a2)
80000104: c022 sw s0,0(sp)
80000106: 00001117 auipc sp,0x1
8000010a: efe10113 addi sp,sp,-258 # 80001004 <test_2_res>
8000010e: 4485 li s1,1
80000110: 00001797 auipc a5,0x1
80000114: f0478793 addi a5,a5,-252 # 80001014 <test_data>
80000118: c3c4 sw s1,4(a5)
8000011a: 43c4 lw s1,4(a5)
8000011c: c026 sw s1,0(sp)
8000011e: 00001117 auipc sp,0x1
80000122: eea10113 addi sp,sp,-278 # 80001008 <test_3_res>
80000126: 557d li a0,-1
80000128: 00001497 auipc s1,0x1
8000012c: eec48493 addi s1,s1,-276 # 80001014 <test_data>
80000130: c488 sw a0,8(s1)
80000132: 4488 lw a0,8(s1)
80000134: c02a sw a0,0(sp)
80000136: 00001117 auipc sp,0x1
8000013a: ed610113 addi sp,sp,-298 # 8000100c <test_4_res>
8000013e: 000086b7 lui a3,0x8
80000142: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
80000146: 00001717 auipc a4,0x1
8000014a: ece70713 addi a4,a4,-306 # 80001014 <test_data>
8000014e: cb14 sw a3,16(a4)
80000150: 4b14 lw a3,16(a4)
80000152: c036 sw a3,0(sp)
80000154: 00001117 auipc sp,0x1
80000158: ebc10113 addi sp,sp,-324 # 80001010 <test_5_res>
8000015c: 67a1 lui a5,0x8
8000015e: 00001617 auipc a2,0x1
80000162: eb660613 addi a2,a2,-330 # 80001014 <test_data>
80000166: de7c sw a5,124(a2)
80000168: 5e7c lw a5,124(a2)
8000016a: c03e sw a5,0(sp)
8000016c: 00001517 auipc a0,0x1
80000170: e9450513 addi a0,a0,-364 # 80001000 <codasip_signature_start>
80000174: 00001597 auipc a1,0x1
80000178: f2c58593 addi a1,a1,-212 # 800010a0 <_end>
8000017c: f0100637 lui a2,0xf0100
80000180: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee8c>
80000184 <complience_halt_loop>:
80000184: 00b50c63 beq a0,a1,8000019c <complience_halt_break>
80000188: 4554 lw a3,12(a0)
8000018a: c214 sw a3,0(a2)
8000018c: 4514 lw a3,8(a0)
8000018e: c214 sw a3,0(a2)
80000190: 4154 lw a3,4(a0)
80000192: c214 sw a3,0(a2)
80000194: 4114 lw a3,0(a0)
80000196: c214 sw a3,0(a2)
80000198: 0541 addi a0,a0,16
8000019a: b7ed j 80000184 <complience_halt_loop>
8000019c <complience_halt_break>:
8000019c: f0100537 lui a0,0xf0100
800001a0: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee80>
800001a4: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_data>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090: ffff 0xffff
80001092: ffff 0xffff
...

View file

@ -0,0 +1,280 @@
/home/spinalvm/hdl/riscv-compliance/work//C.SWSP.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001097 auipc ra,0x1
800000f2: f1208093 addi ra,ra,-238 # 80001000 <codasip_signature_start>
800000f6: 00001117 auipc sp,0x1
800000fa: f1e10113 addi sp,sp,-226 # 80001014 <test_data>
800000fe: 4181 li gp,0
80000100: c00e sw gp,0(sp)
80000102: 4182 lw gp,0(sp)
80000104: 0030a023 sw gp,0(ra)
80000108: 00001097 auipc ra,0x1
8000010c: efc08093 addi ra,ra,-260 # 80001004 <test_2_res>
80000110: 00001117 auipc sp,0x1
80000114: f0410113 addi sp,sp,-252 # 80001014 <test_data>
80000118: 4205 li tp,1
8000011a: c212 sw tp,4(sp)
8000011c: 4212 lw tp,4(sp)
8000011e: 0040a023 sw tp,0(ra)
80000122: 00001097 auipc ra,0x1
80000126: ee608093 addi ra,ra,-282 # 80001008 <test_3_res>
8000012a: 00001117 auipc sp,0x1
8000012e: eea10113 addi sp,sp,-278 # 80001014 <test_data>
80000132: 587d li a6,-1
80000134: c0c2 sw a6,64(sp)
80000136: 4806 lw a6,64(sp)
80000138: 0100a023 sw a6,0(ra)
8000013c: 00001097 auipc ra,0x1
80000140: ed008093 addi ra,ra,-304 # 8000100c <test_4_res>
80000144: 00001117 auipc sp,0x1
80000148: ed010113 addi sp,sp,-304 # 80001014 <test_data>
8000014c: 00008c37 lui s8,0x8
80000150: fffc0c13 addi s8,s8,-1 # 7fff <_start-0x7fff8001>
80000154: dce2 sw s8,120(sp)
80000156: 5c66 lw s8,120(sp)
80000158: 0180a023 sw s8,0(ra)
8000015c: 00001097 auipc ra,0x1
80000160: eb408093 addi ra,ra,-332 # 80001010 <test_5_res>
80000164: 00001117 auipc sp,0x1
80000168: eb010113 addi sp,sp,-336 # 80001014 <test_data>
8000016c: 6fa1 lui t6,0x8
8000016e: dffe sw t6,252(sp)
80000170: 5ffe lw t6,252(sp)
80000172: 01f0a023 sw t6,0(ra)
80000176: 00001517 auipc a0,0x1
8000017a: e8a50513 addi a0,a0,-374 # 80001000 <codasip_signature_start>
8000017e: 00001597 auipc a1,0x1
80000182: f2258593 addi a1,a1,-222 # 800010a0 <_end>
80000186: f0100637 lui a2,0xf0100
8000018a: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee8c>
8000018e <complience_halt_loop>:
8000018e: 00b50c63 beq a0,a1,800001a6 <complience_halt_break>
80000192: 4554 lw a3,12(a0)
80000194: c214 sw a3,0(a2)
80000196: 4514 lw a3,8(a0)
80000198: c214 sw a3,0(a2)
8000019a: 4154 lw a3,4(a0)
8000019c: c214 sw a3,0(a2)
8000019e: 4114 lw a3,0(a0)
800001a0: c214 sw a3,0(a2)
800001a2: 0541 addi a0,a0,16
800001a4: b7ed j 8000018e <complience_halt_loop>
800001a6 <complience_halt_break>:
800001a6: f0100537 lui a0,0xf0100
800001aa: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee80>
800001ae: 00052023 sw zero,0(a0)
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_3_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_4_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_5_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_data>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090: ffff 0xffff
80001092: ffff 0xffff
...

View file

@ -0,0 +1,334 @@
/home/spinalvm/hdl/riscv-compliance/work//C.XOR.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 0001 nop
80000002: 0001 nop
80000004: 0001 nop
80000006: 0001 nop
80000008: 0001 nop
8000000a: 0001 nop
8000000c: 0001 nop
8000000e: 0001 nop
80000010: 0001 nop
80000012: 0001 nop
80000014: 0001 nop
80000016: 0001 nop
80000018: 0001 nop
8000001a: 0001 nop
8000001c: 0001 nop
8000001e: 0001 nop
80000020: 0001 nop
80000022: 0001 nop
80000024: 0001 nop
80000026: 0001 nop
80000028: 0001 nop
8000002a: 0001 nop
8000002c: 0001 nop
8000002e: 0001 nop
80000030: 0001 nop
80000032: 0001 nop
80000034: 0001 nop
80000036: 0001 nop
80000038: 0001 nop
8000003a: 0001 nop
8000003c: 0001 nop
8000003e: 0001 nop
80000040: 0001 nop
80000042: 0001 nop
80000044: 0001 nop
80000046: 0001 nop
80000048: 0001 nop
8000004a: 0001 nop
8000004c: 0001 nop
8000004e: 0001 nop
80000050: 0001 nop
80000052: 0001 nop
80000054: 0001 nop
80000056: 0001 nop
80000058: 0001 nop
8000005a: 0001 nop
8000005c: 0001 nop
8000005e: 0001 nop
80000060: 0001 nop
80000062: 0001 nop
80000064: 0001 nop
80000066: 0001 nop
80000068: 0001 nop
8000006a: 0001 nop
8000006c: 0001 nop
8000006e: 0001 nop
80000070: 0001 nop
80000072: 0001 nop
80000074: 0001 nop
80000076: 0001 nop
80000078: 0001 nop
8000007a: 0001 nop
8000007c: 0001 nop
8000007e: 0001 nop
80000080: 0001 nop
80000082: 0001 nop
80000084: 0001 nop
80000086: 0001 nop
80000088: 0001 nop
8000008a: 0001 nop
8000008c: 0001 nop
8000008e: 0001 nop
80000090: 0001 nop
80000092: 0001 nop
80000094: 0001 nop
80000096: 0001 nop
80000098: 0001 nop
8000009a: 0001 nop
8000009c: 0001 nop
8000009e: 0001 nop
800000a0: 0001 nop
800000a2: 0001 nop
800000a4: 0001 nop
800000a6: 0001 nop
800000a8: 0001 nop
800000aa: 0001 nop
800000ac: 0001 nop
800000ae: 0001 nop
800000b0: 0001 nop
800000b2: 0001 nop
800000b4: 0001 nop
800000b6: 0001 nop
800000b8: 0001 nop
800000ba: 0001 nop
800000bc: 0001 nop
800000be: 0001 nop
800000c0: 0001 nop
800000c2: 0001 nop
800000c4: 0001 nop
800000c6: 0001 nop
800000c8: 0001 nop
800000ca: 0001 nop
800000cc: 0001 nop
800000ce: 0001 nop
800000d0: 0001 nop
800000d2: 0001 nop
800000d4: 0001 nop
800000d6: 0001 nop
800000d8: 0001 nop
800000da: 0001 nop
800000dc: 0001 nop
800000de: 0001 nop
800000e0: 0001 nop
800000e2: 0001 nop
800000e4: 0001 nop
800000e6: 0001 nop
800000e8: 0001 nop
800000ea: 0001 nop
800000ec: 0001 nop
800000ee: 00001117 auipc sp,0x1
800000f2: f1210113 addi sp,sp,-238 # 80001000 <codasip_signature_start>
800000f6: 4481 li s1,0
800000f8: 4401 li s0,0
800000fa: 8c25 xor s0,s0,s1
800000fc: c022 sw s0,0(sp)
800000fe: 4601 li a2,0
80000100: 4585 li a1,1
80000102: 8db1 xor a1,a1,a2
80000104: c22e sw a1,4(sp)
80000106: 4701 li a4,0
80000108: fff00693 li a3,-1
8000010c: 8eb9 xor a3,a3,a4
8000010e: c436 sw a3,8(sp)
80000110: 4401 li s0,0
80000112: 000087b7 lui a5,0x8
80000116: fff78793 addi a5,a5,-1 # 7fff <_start-0x7fff8001>
8000011a: 8fa1 xor a5,a5,s0
8000011c: c63e sw a5,12(sp)
8000011e: 4581 li a1,0
80000120: 64a1 lui s1,0x8
80000122: 8cad xor s1,s1,a1
80000124: c826 sw s1,16(sp)
80000126: 00001117 auipc sp,0x1
8000012a: eee10113 addi sp,sp,-274 # 80001014 <test_2_res>
8000012e: 4685 li a3,1
80000130: 4601 li a2,0
80000132: 8e35 xor a2,a2,a3
80000134: c032 sw a2,0(sp)
80000136: 4785 li a5,1
80000138: 4705 li a4,1
8000013a: 8f3d xor a4,a4,a5
8000013c: c23a sw a4,4(sp)
8000013e: 4485 li s1,1
80000140: fff00413 li s0,-1
80000144: 8c25 xor s0,s0,s1
80000146: c422 sw s0,8(sp)
80000148: 4605 li a2,1
8000014a: 000085b7 lui a1,0x8
8000014e: fff58593 addi a1,a1,-1 # 7fff <_start-0x7fff8001>
80000152: 8db1 xor a1,a1,a2
80000154: c62e sw a1,12(sp)
80000156: 4705 li a4,1
80000158: 66a1 lui a3,0x8
8000015a: 8eb9 xor a3,a3,a4
8000015c: c836 sw a3,16(sp)
8000015e: 00001117 auipc sp,0x1
80000162: eca10113 addi sp,sp,-310 # 80001028 <test_3_res>
80000166: fff00413 li s0,-1
8000016a: 4781 li a5,0
8000016c: 8fa1 xor a5,a5,s0
8000016e: c03e sw a5,0(sp)
80000170: fff00593 li a1,-1
80000174: 4485 li s1,1
80000176: 8cad xor s1,s1,a1
80000178: c226 sw s1,4(sp)
8000017a: fff00693 li a3,-1
8000017e: fff00613 li a2,-1
80000182: 8e35 xor a2,a2,a3
80000184: c432 sw a2,8(sp)
80000186: fff00793 li a5,-1
8000018a: 00008737 lui a4,0x8
8000018e: fff70713 addi a4,a4,-1 # 7fff <_start-0x7fff8001>
80000192: 8f3d xor a4,a4,a5
80000194: c63a sw a4,12(sp)
80000196: fff00493 li s1,-1
8000019a: 6421 lui s0,0x8
8000019c: 8c25 xor s0,s0,s1
8000019e: c822 sw s0,16(sp)
800001a0: 00001117 auipc sp,0x1
800001a4: e9c10113 addi sp,sp,-356 # 8000103c <test_4_res>
800001a8: 00008637 lui a2,0x8
800001ac: fff60613 addi a2,a2,-1 # 7fff <_start-0x7fff8001>
800001b0: 4581 li a1,0
800001b2: 8db1 xor a1,a1,a2
800001b4: c02e sw a1,0(sp)
800001b6: 00008737 lui a4,0x8
800001ba: fff70713 addi a4,a4,-1 # 7fff <_start-0x7fff8001>
800001be: 4685 li a3,1
800001c0: 8eb9 xor a3,a3,a4
800001c2: c236 sw a3,4(sp)
800001c4: 00008437 lui s0,0x8
800001c8: fff40413 addi s0,s0,-1 # 7fff <_start-0x7fff8001>
800001cc: fff00793 li a5,-1
800001d0: 8fa1 xor a5,a5,s0
800001d2: c43e sw a5,8(sp)
800001d4: 000085b7 lui a1,0x8
800001d8: fff58593 addi a1,a1,-1 # 7fff <_start-0x7fff8001>
800001dc: 000084b7 lui s1,0x8
800001e0: fff48493 addi s1,s1,-1 # 7fff <_start-0x7fff8001>
800001e4: 8cad xor s1,s1,a1
800001e6: c626 sw s1,12(sp)
800001e8: 000086b7 lui a3,0x8
800001ec: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
800001f0: 6621 lui a2,0x8
800001f2: 8e35 xor a2,a2,a3
800001f4: c832 sw a2,16(sp)
800001f6: 00001117 auipc sp,0x1
800001fa: e5a10113 addi sp,sp,-422 # 80001050 <test_5_res>
800001fe: 67a1 lui a5,0x8
80000200: 4701 li a4,0
80000202: 8f3d xor a4,a4,a5
80000204: c03a sw a4,0(sp)
80000206: 64a1 lui s1,0x8
80000208: 4405 li s0,1
8000020a: 8c25 xor s0,s0,s1
8000020c: c222 sw s0,4(sp)
8000020e: 6621 lui a2,0x8
80000210: fff00593 li a1,-1
80000214: 8db1 xor a1,a1,a2
80000216: c42e sw a1,8(sp)
80000218: 6721 lui a4,0x8
8000021a: 000086b7 lui a3,0x8
8000021e: fff68693 addi a3,a3,-1 # 7fff <_start-0x7fff8001>
80000222: 8eb9 xor a3,a3,a4
80000224: c636 sw a3,12(sp)
80000226: 6421 lui s0,0x8
80000228: 67a1 lui a5,0x8
8000022a: 8fa1 xor a5,a5,s0
8000022c: c83e sw a5,16(sp)
8000022e: 00001517 auipc a0,0x1
80000232: dd250513 addi a0,a0,-558 # 80001000 <codasip_signature_start>
80000236: 00001597 auipc a1,0x1
8000023a: e3a58593 addi a1,a1,-454 # 80001070 <_end>
8000023e: f0100637 lui a2,0xf0100
80000242: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
80000246 <complience_halt_loop>:
80000246: 00b50c63 beq a0,a1,8000025e <complience_halt_break>
8000024a: 4554 lw a3,12(a0)
8000024c: c214 sw a3,0(a2)
8000024e: 4514 lw a3,8(a0)
80000250: c214 sw a3,0(a2)
80000252: 4154 lw a3,4(a0)
80000254: c214 sw a3,0(a2)
80000256: 4114 lw a3,0(a0)
80000258: c214 sw a3,0(a2)
8000025a: 0541 addi a0,a0,16
8000025c: b7ed j 80000246 <complience_halt_loop>
8000025e <complience_halt_break>:
8000025e: f0100537 lui a0,0xf0100
80000262: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
80000266: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
...

View file

@ -0,0 +1,276 @@
/home/spinalvm/hdl/riscv-compliance/work//DIV.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001117 auipc sp,0x1
80000004: 00010113 mv sp,sp
80000008: 00000913 li s2,0
8000000c: 00000893 li a7,0
80000010: 031948b3 div a7,s2,a7
80000014: 01112023 sw a7,0(sp) # 80001000 <codasip_signature_start>
80000018: 00000a13 li s4,0
8000001c: 00100993 li s3,1
80000020: 033a49b3 div s3,s4,s3
80000024: 01312223 sw s3,4(sp)
80000028: 00000b13 li s6,0
8000002c: fff00a93 li s5,-1
80000030: 035b4ab3 div s5,s6,s5
80000034: 01512423 sw s5,8(sp)
80000038: 00000c13 li s8,0
8000003c: 80000bb7 lui s7,0x80000
80000040: fffb8b93 addi s7,s7,-1 # 7fffffff <_end+0xffffef2f>
80000044: 037c4bb3 div s7,s8,s7
80000048: 01712623 sw s7,12(sp)
8000004c: 00000d13 li s10,0
80000050: 80000cb7 lui s9,0x80000
80000054: 039d4cb3 div s9,s10,s9
80000058: 01912823 sw s9,16(sp)
8000005c: 00001117 auipc sp,0x1
80000060: fb810113 addi sp,sp,-72 # 80001014 <test_2_res>
80000064: 00100e13 li t3,1
80000068: 00000d93 li s11,0
8000006c: 03be4db3 div s11,t3,s11
80000070: 01b12023 sw s11,0(sp)
80000074: 00100f13 li t5,1
80000078: 00100e93 li t4,1
8000007c: 03df4eb3 div t4,t5,t4
80000080: 01d12223 sw t4,4(sp)
80000084: 00100193 li gp,1
80000088: fff00f93 li t6,-1
8000008c: 03f1cfb3 div t6,gp,t6
80000090: 01f12423 sw t6,8(sp)
80000094: 00100413 li s0,1
80000098: 80000237 lui tp,0x80000
8000009c: fff20213 addi tp,tp,-1 # 7fffffff <_end+0xffffef2f>
800000a0: 02444233 div tp,s0,tp
800000a4: 00412623 sw tp,12(sp)
800000a8: 00100593 li a1,1
800000ac: 800004b7 lui s1,0x80000
800000b0: 0295c4b3 div s1,a1,s1
800000b4: 00912823 sw s1,16(sp)
800000b8: 00001117 auipc sp,0x1
800000bc: f7010113 addi sp,sp,-144 # 80001028 <test_3_res>
800000c0: fff00693 li a3,-1
800000c4: 00000613 li a2,0
800000c8: 02c6c633 div a2,a3,a2
800000cc: 00c12023 sw a2,0(sp)
800000d0: fff00793 li a5,-1
800000d4: 00100713 li a4,1
800000d8: 02e7c733 div a4,a5,a4
800000dc: 00e12223 sw a4,4(sp)
800000e0: fff00893 li a7,-1
800000e4: fff00813 li a6,-1
800000e8: 0308c833 div a6,a7,a6
800000ec: 01012423 sw a6,8(sp)
800000f0: fff00993 li s3,-1
800000f4: 80000937 lui s2,0x80000
800000f8: fff90913 addi s2,s2,-1 # 7fffffff <_end+0xffffef2f>
800000fc: 0329c933 div s2,s3,s2
80000100: 01212623 sw s2,12(sp)
80000104: fff00a93 li s5,-1
80000108: 80000a37 lui s4,0x80000
8000010c: 034aca33 div s4,s5,s4
80000110: 01412823 sw s4,16(sp)
80000114: 00001117 auipc sp,0x1
80000118: f2810113 addi sp,sp,-216 # 8000103c <test_4_res>
8000011c: 80000bb7 lui s7,0x80000
80000120: fffb8b93 addi s7,s7,-1 # 7fffffff <_end+0xffffef2f>
80000124: 00000b13 li s6,0
80000128: 036bcb33 div s6,s7,s6
8000012c: 01612023 sw s6,0(sp)
80000130: 80000cb7 lui s9,0x80000
80000134: fffc8c93 addi s9,s9,-1 # 7fffffff <_end+0xffffef2f>
80000138: 00100c13 li s8,1
8000013c: 038ccc33 div s8,s9,s8
80000140: 01812223 sw s8,4(sp)
80000144: 80000db7 lui s11,0x80000
80000148: fffd8d93 addi s11,s11,-1 # 7fffffff <_end+0xffffef2f>
8000014c: fff00d13 li s10,-1
80000150: 03adcd33 div s10,s11,s10
80000154: 01a12423 sw s10,8(sp)
80000158: 80000eb7 lui t4,0x80000
8000015c: fffe8e93 addi t4,t4,-1 # 7fffffff <_end+0xffffef2f>
80000160: 80000e37 lui t3,0x80000
80000164: fffe0e13 addi t3,t3,-1 # 7fffffff <_end+0xffffef2f>
80000168: 03cece33 div t3,t4,t3
8000016c: 01c12623 sw t3,12(sp)
80000170: 80000fb7 lui t6,0x80000
80000174: ffff8f93 addi t6,t6,-1 # 7fffffff <_end+0xffffef2f>
80000178: 80000f37 lui t5,0x80000
8000017c: 03efcf33 div t5,t6,t5
80000180: 01e12823 sw t5,16(sp)
80000184: 00001117 auipc sp,0x1
80000188: ecc10113 addi sp,sp,-308 # 80001050 <test_5_res>
8000018c: 80000237 lui tp,0x80000
80000190: 00000193 li gp,0
80000194: 023241b3 div gp,tp,gp
80000198: 00312023 sw gp,0(sp)
8000019c: 800004b7 lui s1,0x80000
800001a0: 00100413 li s0,1
800001a4: 0284c433 div s0,s1,s0
800001a8: 00812223 sw s0,4(sp)
800001ac: 80000637 lui a2,0x80000
800001b0: fff00593 li a1,-1
800001b4: 02b645b3 div a1,a2,a1
800001b8: 00b12423 sw a1,8(sp)
800001bc: 80000737 lui a4,0x80000
800001c0: 800006b7 lui a3,0x80000
800001c4: fff68693 addi a3,a3,-1 # 7fffffff <_end+0xffffef2f>
800001c8: 02d746b3 div a3,a4,a3
800001cc: 00d12623 sw a3,12(sp)
800001d0: 80000837 lui a6,0x80000
800001d4: 800007b7 lui a5,0x80000
800001d8: 02f847b3 div a5,a6,a5
800001dc: 00f12823 sw a5,16(sp)
800001e0: 00001517 auipc a0,0x1
800001e4: e2050513 addi a0,a0,-480 # 80001000 <codasip_signature_start>
800001e8: 00001597 auipc a1,0x1
800001ec: ee858593 addi a1,a1,-280 # 800010d0 <_end>
800001f0: f0100637 lui a2,0xf0100
800001f4: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee5c>
800001f8 <complience_halt_loop>:
800001f8: 02b50663 beq a0,a1,80000224 <complience_halt_break>
800001fc: 00c52683 lw a3,12(a0)
80000200: 00d62023 sw a3,0(a2)
80000204: 00852683 lw a3,8(a0)
80000208: 00d62023 sw a3,0(a2)
8000020c: 00452683 lw a3,4(a0)
80000210: 00d62023 sw a3,0(a2)
80000214: 00052683 lw a3,0(a0)
80000218: 00d62023 sw a3,0(a2)
8000021c: 01050513 addi a0,a0,16
80000220: fd9ff06f j 800001f8 <complience_halt_loop>
80000224 <complience_halt_break>:
80000224: f0100537 lui a0,0xf0100
80000228: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee50>
8000022c: 00052023 sw zero,0(a0)
80000230: 0000 unimp
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064 <test_6_res>:
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078 <test_7_res>:
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c <test_8_res>:
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0 <test_9_res>:
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4 <test_10_res>:
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff
800010c0: ffff 0xffff
800010c2: ffff 0xffff
800010c4: ffff 0xffff
800010c6: ffff 0xffff
...

View file

@ -0,0 +1,276 @@
/home/spinalvm/hdl/riscv-compliance/work//DIVU.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001117 auipc sp,0x1
80000004: 00010113 mv sp,sp
80000008: 00000913 li s2,0
8000000c: 00000893 li a7,0
80000010: 031958b3 divu a7,s2,a7
80000014: 01112023 sw a7,0(sp) # 80001000 <codasip_signature_start>
80000018: 00000a13 li s4,0
8000001c: 00100993 li s3,1
80000020: 033a59b3 divu s3,s4,s3
80000024: 01312223 sw s3,4(sp)
80000028: 00000b13 li s6,0
8000002c: fff00a93 li s5,-1
80000030: 035b5ab3 divu s5,s6,s5
80000034: 01512423 sw s5,8(sp)
80000038: 00000c13 li s8,0
8000003c: 80000bb7 lui s7,0x80000
80000040: fffb8b93 addi s7,s7,-1 # 7fffffff <_end+0xffffef2f>
80000044: 037c5bb3 divu s7,s8,s7
80000048: 01712623 sw s7,12(sp)
8000004c: 00000d13 li s10,0
80000050: 80000cb7 lui s9,0x80000
80000054: 039d5cb3 divu s9,s10,s9
80000058: 01912823 sw s9,16(sp)
8000005c: 00001117 auipc sp,0x1
80000060: fb810113 addi sp,sp,-72 # 80001014 <test_2_res>
80000064: 00100e13 li t3,1
80000068: 00000d93 li s11,0
8000006c: 03be5db3 divu s11,t3,s11
80000070: 01b12023 sw s11,0(sp)
80000074: 00100f13 li t5,1
80000078: 00100e93 li t4,1
8000007c: 03df5eb3 divu t4,t5,t4
80000080: 01d12223 sw t4,4(sp)
80000084: 00100193 li gp,1
80000088: fff00f93 li t6,-1
8000008c: 03f1dfb3 divu t6,gp,t6
80000090: 01f12423 sw t6,8(sp)
80000094: 00100413 li s0,1
80000098: 80000237 lui tp,0x80000
8000009c: fff20213 addi tp,tp,-1 # 7fffffff <_end+0xffffef2f>
800000a0: 02445233 divu tp,s0,tp
800000a4: 00412623 sw tp,12(sp)
800000a8: 00100593 li a1,1
800000ac: 800004b7 lui s1,0x80000
800000b0: 0295d4b3 divu s1,a1,s1
800000b4: 00912823 sw s1,16(sp)
800000b8: 00001117 auipc sp,0x1
800000bc: f7010113 addi sp,sp,-144 # 80001028 <test_3_res>
800000c0: fff00693 li a3,-1
800000c4: 00000613 li a2,0
800000c8: 02c6d633 divu a2,a3,a2
800000cc: 00c12023 sw a2,0(sp)
800000d0: fff00793 li a5,-1
800000d4: 00100713 li a4,1
800000d8: 02e7d733 divu a4,a5,a4
800000dc: 00e12223 sw a4,4(sp)
800000e0: fff00893 li a7,-1
800000e4: fff00813 li a6,-1
800000e8: 0308d833 divu a6,a7,a6
800000ec: 01012423 sw a6,8(sp)
800000f0: fff00993 li s3,-1
800000f4: 80000937 lui s2,0x80000
800000f8: fff90913 addi s2,s2,-1 # 7fffffff <_end+0xffffef2f>
800000fc: 0329d933 divu s2,s3,s2
80000100: 01212623 sw s2,12(sp)
80000104: fff00a93 li s5,-1
80000108: 80000a37 lui s4,0x80000
8000010c: 034ada33 divu s4,s5,s4
80000110: 01412823 sw s4,16(sp)
80000114: 00001117 auipc sp,0x1
80000118: f2810113 addi sp,sp,-216 # 8000103c <test_4_res>
8000011c: 80000bb7 lui s7,0x80000
80000120: fffb8b93 addi s7,s7,-1 # 7fffffff <_end+0xffffef2f>
80000124: 00000b13 li s6,0
80000128: 036bdb33 divu s6,s7,s6
8000012c: 01612023 sw s6,0(sp)
80000130: 80000cb7 lui s9,0x80000
80000134: fffc8c93 addi s9,s9,-1 # 7fffffff <_end+0xffffef2f>
80000138: 00100c13 li s8,1
8000013c: 038cdc33 divu s8,s9,s8
80000140: 01812223 sw s8,4(sp)
80000144: 80000db7 lui s11,0x80000
80000148: fffd8d93 addi s11,s11,-1 # 7fffffff <_end+0xffffef2f>
8000014c: fff00d13 li s10,-1
80000150: 03addd33 divu s10,s11,s10
80000154: 01a12423 sw s10,8(sp)
80000158: 80000eb7 lui t4,0x80000
8000015c: fffe8e93 addi t4,t4,-1 # 7fffffff <_end+0xffffef2f>
80000160: 80000e37 lui t3,0x80000
80000164: fffe0e13 addi t3,t3,-1 # 7fffffff <_end+0xffffef2f>
80000168: 03cede33 divu t3,t4,t3
8000016c: 01c12623 sw t3,12(sp)
80000170: 80000fb7 lui t6,0x80000
80000174: ffff8f93 addi t6,t6,-1 # 7fffffff <_end+0xffffef2f>
80000178: 80000f37 lui t5,0x80000
8000017c: 03efdf33 divu t5,t6,t5
80000180: 01e12823 sw t5,16(sp)
80000184: 00001117 auipc sp,0x1
80000188: ecc10113 addi sp,sp,-308 # 80001050 <test_5_res>
8000018c: 80000237 lui tp,0x80000
80000190: 00000193 li gp,0
80000194: 023251b3 divu gp,tp,gp
80000198: 00312023 sw gp,0(sp)
8000019c: 800004b7 lui s1,0x80000
800001a0: 00100413 li s0,1
800001a4: 0284d433 divu s0,s1,s0
800001a8: 00812223 sw s0,4(sp)
800001ac: 80000637 lui a2,0x80000
800001b0: fff00593 li a1,-1
800001b4: 02b655b3 divu a1,a2,a1
800001b8: 00b12423 sw a1,8(sp)
800001bc: 80000737 lui a4,0x80000
800001c0: 800006b7 lui a3,0x80000
800001c4: fff68693 addi a3,a3,-1 # 7fffffff <_end+0xffffef2f>
800001c8: 02d756b3 divu a3,a4,a3
800001cc: 00d12623 sw a3,12(sp)
800001d0: 80000837 lui a6,0x80000
800001d4: 800007b7 lui a5,0x80000
800001d8: 02f857b3 divu a5,a6,a5
800001dc: 00f12823 sw a5,16(sp)
800001e0: 00001517 auipc a0,0x1
800001e4: e2050513 addi a0,a0,-480 # 80001000 <codasip_signature_start>
800001e8: 00001597 auipc a1,0x1
800001ec: ee858593 addi a1,a1,-280 # 800010d0 <_end>
800001f0: f0100637 lui a2,0xf0100
800001f4: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee5c>
800001f8 <complience_halt_loop>:
800001f8: 02b50663 beq a0,a1,80000224 <complience_halt_break>
800001fc: 00c52683 lw a3,12(a0)
80000200: 00d62023 sw a3,0(a2)
80000204: 00852683 lw a3,8(a0)
80000208: 00d62023 sw a3,0(a2)
8000020c: 00452683 lw a3,4(a0)
80000210: 00d62023 sw a3,0(a2)
80000214: 00052683 lw a3,0(a0)
80000218: 00d62023 sw a3,0(a2)
8000021c: 01050513 addi a0,a0,16
80000220: fd9ff06f j 800001f8 <complience_halt_loop>
80000224 <complience_halt_break>:
80000224: f0100537 lui a0,0xf0100
80000228: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee50>
8000022c: 00052023 sw zero,0(a0)
80000230: 0000 unimp
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_2_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_3_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_4_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_5_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064 <test_6_res>:
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078 <test_7_res>:
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c <test_8_res>:
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0 <test_9_res>:
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4 <test_10_res>:
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff
800010c0: ffff 0xffff
800010c2: ffff 0xffff
800010c4: ffff 0xffff
800010c6: ffff 0xffff
...

View file

@ -0,0 +1,460 @@
/home/spinalvm/hdl/riscv-compliance/work//DIVW.elf: file format elf64-littleriscv
Disassembly of section .text.init:
0000000080000000 <_start>:
80000000: 04c0006f j 8000004c <reset_vector>
0000000080000004 <trap_vector>:
80000004: 34202f73 csrr t5,mcause
80000008: 00800f93 li t6,8
8000000c: 03ff0a63 beq t5,t6,80000040 <write_tohost>
80000010: 00900f93 li t6,9
80000014: 03ff0663 beq t5,t6,80000040 <write_tohost>
80000018: 00b00f93 li t6,11
8000001c: 03ff0263 beq t5,t6,80000040 <write_tohost>
80000020: 80000f17 auipc t5,0x80000
80000024: fe0f0f13 addi t5,t5,-32 # 0 <_start-0x80000000>
80000028: 000f0463 beqz t5,80000030 <trap_vector+0x2c>
8000002c: 000f0067 jr t5
80000030: 34202f73 csrr t5,mcause
80000034: 000f5463 bgez t5,8000003c <handle_exception>
80000038: 0040006f j 8000003c <handle_exception>
000000008000003c <handle_exception>:
8000003c: 5391e193 ori gp,gp,1337
0000000080000040 <write_tohost>:
80000040: 00001f17 auipc t5,0x1
80000044: fc3f2023 sw gp,-64(t5) # 80001000 <tohost>
80000048: ff9ff06f j 80000040 <write_tohost>
000000008000004c <reset_vector>:
8000004c: f1402573 csrr a0,mhartid
80000050: 00051063 bnez a0,80000050 <reset_vector+0x4>
80000054: 00000297 auipc t0,0x0
80000058: 01028293 addi t0,t0,16 # 80000064 <reset_vector+0x18>
8000005c: 30529073 csrw mtvec,t0
80000060: 18005073 csrwi satp,0
80000064: 00000297 auipc t0,0x0
80000068: 01c28293 addi t0,t0,28 # 80000080 <reset_vector+0x34>
8000006c: 30529073 csrw mtvec,t0
80000070: fff00293 li t0,-1
80000074: 3b029073 csrw pmpaddr0,t0
80000078: 01f00293 li t0,31
8000007c: 3a029073 csrw pmpcfg0,t0
80000080: 00000297 auipc t0,0x0
80000084: 01828293 addi t0,t0,24 # 80000098 <reset_vector+0x4c>
80000088: 30529073 csrw mtvec,t0
8000008c: 30205073 csrwi medeleg,0
80000090: 30305073 csrwi mideleg,0
80000094: 30405073 csrwi mie,0
80000098: 00000193 li gp,0
8000009c: 00000297 auipc t0,0x0
800000a0: f6828293 addi t0,t0,-152 # 80000004 <trap_vector>
800000a4: 30529073 csrw mtvec,t0
800000a8: 00100513 li a0,1
800000ac: 01f51513 slli a0,a0,0x1f
800000b0: 00055863 bgez a0,800000c0 <reset_vector+0x74>
800000b4: 00000013 nop
800000b8: 00100193 li gp,1
800000bc: 00000073 ecall
800000c0: 80000297 auipc t0,0x80000
800000c4: f4028293 addi t0,t0,-192 # 0 <_start-0x80000000>
800000c8: 00028e63 beqz t0,800000e4 <reset_vector+0x98>
800000cc: 10529073 csrw stvec,t0
800000d0: 0000b2b7 lui t0,0xb
800000d4: 1092829b addiw t0,t0,265
800000d8: 30229073 csrw medeleg,t0
800000dc: 30202373 csrr t1,medeleg
800000e0: f4629ee3 bne t0,t1,8000003c <handle_exception>
800000e4: 30005073 csrwi mstatus,0
800000e8: 00002537 lui a0,0x2
800000ec: 8005051b addiw a0,a0,-2048
800000f0: 30052073 csrs mstatus,a0
800000f4: 00000297 auipc t0,0x0
800000f8: 01428293 addi t0,t0,20 # 80000108 <begin_testcode>
800000fc: 34129073 csrw mepc,t0
80000100: f1402573 csrr a0,mhartid
80000104: 30200073 mret
0000000080000108 <begin_testcode>:
80000108: 00002117 auipc sp,0x2
8000010c: ef810113 addi sp,sp,-264 # 80002000 <begin_signature>
80000110: 00000213 li tp,0
80000114: 00000193 li gp,0
80000118: 023241bb divw gp,tp,gp
8000011c: 00312023 sw gp,0(sp)
80000120: 00000493 li s1,0
80000124: 00100413 li s0,1
80000128: 0284c43b divw s0,s1,s0
8000012c: 00812423 sw s0,8(sp)
80000130: 00000613 li a2,0
80000134: fff00593 li a1,-1
80000138: 02b645bb divw a1,a2,a1
8000013c: 00b12823 sw a1,16(sp)
80000140: 00000713 li a4,0
80000144: fff0069b addiw a3,zero,-1
80000148: 03f69693 slli a3,a3,0x3f
8000014c: fff68693 addi a3,a3,-1
80000150: 02d746bb divw a3,a4,a3
80000154: 00d12c23 sw a3,24(sp)
80000158: 00000813 li a6,0
8000015c: fff0079b addiw a5,zero,-1
80000160: 03f79793 slli a5,a5,0x3f
80000164: 02f847bb divw a5,a6,a5
80000168: 02f12023 sw a5,32(sp)
8000016c: 00002117 auipc sp,0x2
80000170: ebc10113 addi sp,sp,-324 # 80002028 <test_2_res>
80000174: 00100913 li s2,1
80000178: 00000893 li a7,0
8000017c: 031948bb divw a7,s2,a7
80000180: 01112023 sw a7,0(sp)
80000184: 00100a13 li s4,1
80000188: 00100993 li s3,1
8000018c: 033a49bb divw s3,s4,s3
80000190: 01312423 sw s3,8(sp)
80000194: 00100b13 li s6,1
80000198: fff00a93 li s5,-1
8000019c: 035b4abb divw s5,s6,s5
800001a0: 01512823 sw s5,16(sp)
800001a4: 00100c13 li s8,1
800001a8: fff00b9b addiw s7,zero,-1
800001ac: 03fb9b93 slli s7,s7,0x3f
800001b0: fffb8b93 addi s7,s7,-1
800001b4: 037c4bbb divw s7,s8,s7
800001b8: 01712c23 sw s7,24(sp)
800001bc: 00100d13 li s10,1
800001c0: fff00c9b addiw s9,zero,-1
800001c4: 03fc9c93 slli s9,s9,0x3f
800001c8: 039d4cbb divw s9,s10,s9
800001cc: 03912023 sw s9,32(sp)
800001d0: 00002117 auipc sp,0x2
800001d4: e8010113 addi sp,sp,-384 # 80002050 <test_3_res>
800001d8: fff00e13 li t3,-1
800001dc: 00000d93 li s11,0
800001e0: 03be4dbb divw s11,t3,s11
800001e4: 01b12023 sw s11,0(sp)
800001e8: fff00f13 li t5,-1
800001ec: 00100e93 li t4,1
800001f0: 03df4ebb divw t4,t5,t4
800001f4: 01d12423 sw t4,8(sp)
800001f8: fff00193 li gp,-1
800001fc: fff00f93 li t6,-1
80000200: 03f1cfbb divw t6,gp,t6
80000204: 01f12823 sw t6,16(sp)
80000208: fff00413 li s0,-1
8000020c: fff0021b addiw tp,zero,-1
80000210: 03f21213 slli tp,tp,0x3f
80000214: fff20213 addi tp,tp,-1
80000218: 0244423b divw tp,s0,tp
8000021c: 00412c23 sw tp,24(sp)
80000220: fff00593 li a1,-1
80000224: fff0049b addiw s1,zero,-1
80000228: 03f49493 slli s1,s1,0x3f
8000022c: 0295c4bb divw s1,a1,s1
80000230: 02912023 sw s1,32(sp)
80000234: 00002117 auipc sp,0x2
80000238: e4410113 addi sp,sp,-444 # 80002078 <test_4_res>
8000023c: fff0069b addiw a3,zero,-1
80000240: 03f69693 slli a3,a3,0x3f
80000244: fff68693 addi a3,a3,-1
80000248: 00000613 li a2,0
8000024c: 02c6c63b divw a2,a3,a2
80000250: 00c12023 sw a2,0(sp)
80000254: fff0079b addiw a5,zero,-1
80000258: 03f79793 slli a5,a5,0x3f
8000025c: fff78793 addi a5,a5,-1
80000260: 00100713 li a4,1
80000264: 02e7c73b divw a4,a5,a4
80000268: 00e12423 sw a4,8(sp)
8000026c: fff0089b addiw a7,zero,-1
80000270: 03f89893 slli a7,a7,0x3f
80000274: fff88893 addi a7,a7,-1
80000278: fff00813 li a6,-1
8000027c: 0308c83b divw a6,a7,a6
80000280: 01012823 sw a6,16(sp)
80000284: fff0099b addiw s3,zero,-1
80000288: 03f99993 slli s3,s3,0x3f
8000028c: fff98993 addi s3,s3,-1
80000290: fff0091b addiw s2,zero,-1
80000294: 03f91913 slli s2,s2,0x3f
80000298: fff90913 addi s2,s2,-1
8000029c: 0329c93b divw s2,s3,s2
800002a0: 01212c23 sw s2,24(sp)
800002a4: fff00a9b addiw s5,zero,-1
800002a8: 03fa9a93 slli s5,s5,0x3f
800002ac: fffa8a93 addi s5,s5,-1
800002b0: fff00a1b addiw s4,zero,-1
800002b4: 03fa1a13 slli s4,s4,0x3f
800002b8: 034aca3b divw s4,s5,s4
800002bc: 03412023 sw s4,32(sp)
800002c0: 00002117 auipc sp,0x2
800002c4: de010113 addi sp,sp,-544 # 800020a0 <test_5_res>
800002c8: fff00b9b addiw s7,zero,-1
800002cc: 03fb9b93 slli s7,s7,0x3f
800002d0: 00000b13 li s6,0
800002d4: 036bcb3b divw s6,s7,s6
800002d8: 01612023 sw s6,0(sp)
800002dc: fff00c9b addiw s9,zero,-1
800002e0: 03fc9c93 slli s9,s9,0x3f
800002e4: 00100c13 li s8,1
800002e8: 038ccc3b divw s8,s9,s8
800002ec: 01812423 sw s8,8(sp)
800002f0: fff00d9b addiw s11,zero,-1
800002f4: 03fd9d93 slli s11,s11,0x3f
800002f8: fff00d13 li s10,-1
800002fc: 03adcd3b divw s10,s11,s10
80000300: 01a12823 sw s10,16(sp)
80000304: fff00e9b addiw t4,zero,-1
80000308: 03fe9e93 slli t4,t4,0x3f
8000030c: fff00e1b addiw t3,zero,-1
80000310: 03fe1e13 slli t3,t3,0x3f
80000314: fffe0e13 addi t3,t3,-1
80000318: 03cece3b divw t3,t4,t3
8000031c: 01c12c23 sw t3,24(sp)
80000320: fff00f9b addiw t6,zero,-1
80000324: 03ff9f93 slli t6,t6,0x3f
80000328: fff00f1b addiw t5,zero,-1
8000032c: 03ff1f13 slli t5,t5,0x3f
80000330: 03efcf3b divw t5,t6,t5
80000334: 03e12023 sw t5,32(sp)
80000338: 00000013 nop
8000033c: 00100193 li gp,1
80000340: 00000073 ecall
0000000080000344 <end_testcode>:
80000344: c0001073 unimp
...
Disassembly of section .tohost:
0000000080001000 <tohost>:
...
0000000080001100 <fromhost>:
...
Disassembly of section .data:
0000000080002000 <begin_signature>:
80002000: ffff 0xffff
80002002: ffff 0xffff
80002004: 0000 unimp
80002006: 0000 unimp
80002008: ffff 0xffff
8000200a: ffff 0xffff
8000200c: 0000 unimp
8000200e: 0000 unimp
80002010: ffff 0xffff
80002012: ffff 0xffff
80002014: 0000 unimp
80002016: 0000 unimp
80002018: ffff 0xffff
8000201a: ffff 0xffff
8000201c: 0000 unimp
8000201e: 0000 unimp
80002020: ffff 0xffff
80002022: ffff 0xffff
80002024: 0000 unimp
...
0000000080002028 <test_2_res>:
80002028: ffff 0xffff
8000202a: ffff 0xffff
8000202c: 0000 unimp
8000202e: 0000 unimp
80002030: ffff 0xffff
80002032: ffff 0xffff
80002034: 0000 unimp
80002036: 0000 unimp
80002038: ffff 0xffff
8000203a: ffff 0xffff
8000203c: 0000 unimp
8000203e: 0000 unimp
80002040: ffff 0xffff
80002042: ffff 0xffff
80002044: 0000 unimp
80002046: 0000 unimp
80002048: ffff 0xffff
8000204a: ffff 0xffff
8000204c: 0000 unimp
...
0000000080002050 <test_3_res>:
80002050: ffff 0xffff
80002052: ffff 0xffff
80002054: 0000 unimp
80002056: 0000 unimp
80002058: ffff 0xffff
8000205a: ffff 0xffff
8000205c: 0000 unimp
8000205e: 0000 unimp
80002060: ffff 0xffff
80002062: ffff 0xffff
80002064: 0000 unimp
80002066: 0000 unimp
80002068: ffff 0xffff
8000206a: ffff 0xffff
8000206c: 0000 unimp
8000206e: 0000 unimp
80002070: ffff 0xffff
80002072: ffff 0xffff
80002074: 0000 unimp
...
0000000080002078 <test_4_res>:
80002078: ffff 0xffff
8000207a: ffff 0xffff
8000207c: 0000 unimp
8000207e: 0000 unimp
80002080: ffff 0xffff
80002082: ffff 0xffff
80002084: 0000 unimp
80002086: 0000 unimp
80002088: ffff 0xffff
8000208a: ffff 0xffff
8000208c: 0000 unimp
8000208e: 0000 unimp
80002090: ffff 0xffff
80002092: ffff 0xffff
80002094: 0000 unimp
80002096: 0000 unimp
80002098: ffff 0xffff
8000209a: ffff 0xffff
8000209c: 0000 unimp
...
00000000800020a0 <test_5_res>:
800020a0: ffff 0xffff
800020a2: ffff 0xffff
800020a4: 0000 unimp
800020a6: 0000 unimp
800020a8: ffff 0xffff
800020aa: ffff 0xffff
800020ac: 0000 unimp
800020ae: 0000 unimp
800020b0: ffff 0xffff
800020b2: ffff 0xffff
800020b4: 0000 unimp
800020b6: 0000 unimp
800020b8: ffff 0xffff
800020ba: ffff 0xffff
800020bc: 0000 unimp
800020be: 0000 unimp
800020c0: ffff 0xffff
800020c2: ffff 0xffff
800020c4: 0000 unimp
...
00000000800020c8 <test_6_res>:
800020c8: ffff 0xffff
800020ca: ffff 0xffff
800020cc: 0000 unimp
800020ce: 0000 unimp
800020d0: ffff 0xffff
800020d2: ffff 0xffff
800020d4: 0000 unimp
800020d6: 0000 unimp
800020d8: ffff 0xffff
800020da: ffff 0xffff
800020dc: 0000 unimp
800020de: 0000 unimp
800020e0: ffff 0xffff
800020e2: ffff 0xffff
800020e4: 0000 unimp
800020e6: 0000 unimp
800020e8: ffff 0xffff
800020ea: ffff 0xffff
800020ec: 0000 unimp
...
00000000800020f0 <test_7_res>:
800020f0: ffff 0xffff
800020f2: ffff 0xffff
800020f4: 0000 unimp
800020f6: 0000 unimp
800020f8: ffff 0xffff
800020fa: ffff 0xffff
800020fc: 0000 unimp
800020fe: 0000 unimp
80002100: ffff 0xffff
80002102: ffff 0xffff
80002104: 0000 unimp
80002106: 0000 unimp
80002108: ffff 0xffff
8000210a: ffff 0xffff
8000210c: 0000 unimp
8000210e: 0000 unimp
80002110: ffff 0xffff
80002112: ffff 0xffff
80002114: 0000 unimp
...
0000000080002118 <test_8_res>:
80002118: ffff 0xffff
8000211a: ffff 0xffff
8000211c: 0000 unimp
8000211e: 0000 unimp
80002120: ffff 0xffff
80002122: ffff 0xffff
80002124: 0000 unimp
80002126: 0000 unimp
80002128: ffff 0xffff
8000212a: ffff 0xffff
8000212c: 0000 unimp
8000212e: 0000 unimp
80002130: ffff 0xffff
80002132: ffff 0xffff
80002134: 0000 unimp
80002136: 0000 unimp
80002138: ffff 0xffff
8000213a: ffff 0xffff
8000213c: 0000 unimp
...
0000000080002140 <test_9_res>:
80002140: ffff 0xffff
80002142: ffff 0xffff
80002144: 0000 unimp
80002146: 0000 unimp
80002148: ffff 0xffff
8000214a: ffff 0xffff
8000214c: 0000 unimp
8000214e: 0000 unimp
80002150: ffff 0xffff
80002152: ffff 0xffff
80002154: 0000 unimp
80002156: 0000 unimp
80002158: ffff 0xffff
8000215a: ffff 0xffff
8000215c: 0000 unimp
8000215e: 0000 unimp
80002160: ffff 0xffff
80002162: ffff 0xffff
80002164: 0000 unimp
...
0000000080002168 <test_10_res>:
80002168: ffff 0xffff
8000216a: ffff 0xffff
8000216c: 0000 unimp
8000216e: 0000 unimp
80002170: ffff 0xffff
80002172: ffff 0xffff
80002174: 0000 unimp
80002176: 0000 unimp
80002178: ffff 0xffff
8000217a: ffff 0xffff
8000217c: 0000 unimp
8000217e: 0000 unimp
80002180: ffff 0xffff
80002182: ffff 0xffff
80002184: 0000 unimp
80002186: 0000 unimp
80002188: ffff 0xffff
8000218a: ffff 0xffff
8000218c: 0000 unimp
...

View file

@ -0,0 +1,344 @@
/home/spinalvm/hdl/riscv-compliance/work//I-ADD-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 02810113 addi sp,sp,40 # 80001030 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 00000213 li tp,0
80000018: 00100293 li t0,1
8000001c: fff00313 li t1,-1
80000020: 800003b7 lui t2,0x80000
80000024: fff38393 addi t2,t2,-1 # 7fffffff <_end+0xffffef1f>
80000028: 80000437 lui s0,0x80000
8000002c: 00418233 add tp,gp,tp
80000030: 005182b3 add t0,gp,t0
80000034: 00618333 add t1,gp,t1
80000038: 007183b3 add t2,gp,t2
8000003c: 00818433 add s0,gp,s0
80000040: 00312023 sw gp,0(sp)
80000044: 00412223 sw tp,4(sp)
80000048: 00512423 sw t0,8(sp)
8000004c: 00612623 sw t1,12(sp)
80000050: 00712823 sw t2,16(sp)
80000054: 00812a23 sw s0,20(sp)
80000058: 00001097 auipc ra,0x1
8000005c: fac08093 addi ra,ra,-84 # 80001004 <test_A2_data>
80000060: 00001117 auipc sp,0x1
80000064: fe810113 addi sp,sp,-24 # 80001048 <test_A2_res>
80000068: 0000a403 lw s0,0(ra)
8000006c: 00000493 li s1,0
80000070: 00100513 li a0,1
80000074: fff00593 li a1,-1
80000078: 80000637 lui a2,0x80000
8000007c: fff60613 addi a2,a2,-1 # 7fffffff <_end+0xffffef1f>
80000080: 800006b7 lui a3,0x80000
80000084: 009404b3 add s1,s0,s1
80000088: 00a40533 add a0,s0,a0
8000008c: 00b405b3 add a1,s0,a1
80000090: 00c40633 add a2,s0,a2
80000094: 00d406b3 add a3,s0,a3
80000098: 00812023 sw s0,0(sp)
8000009c: 00912223 sw s1,4(sp)
800000a0: 00a12423 sw a0,8(sp)
800000a4: 00b12623 sw a1,12(sp)
800000a8: 00c12823 sw a2,16(sp)
800000ac: 00d12a23 sw a3,20(sp)
800000b0: 00001097 auipc ra,0x1
800000b4: f5808093 addi ra,ra,-168 # 80001008 <test_A3_data>
800000b8: 00001117 auipc sp,0x1
800000bc: fa810113 addi sp,sp,-88 # 80001060 <test_A3_res>
800000c0: 0000a683 lw a3,0(ra)
800000c4: 00000713 li a4,0
800000c8: 00100793 li a5,1
800000cc: fff00813 li a6,-1
800000d0: 800008b7 lui a7,0x80000
800000d4: fff88893 addi a7,a7,-1 # 7fffffff <_end+0xffffef1f>
800000d8: 80000937 lui s2,0x80000
800000dc: 00e68733 add a4,a3,a4
800000e0: 00f687b3 add a5,a3,a5
800000e4: 01068833 add a6,a3,a6
800000e8: 011688b3 add a7,a3,a7
800000ec: 01268933 add s2,a3,s2
800000f0: 00d12023 sw a3,0(sp)
800000f4: 00e12223 sw a4,4(sp)
800000f8: 00f12423 sw a5,8(sp)
800000fc: 01012623 sw a6,12(sp)
80000100: 01112823 sw a7,16(sp)
80000104: 01212a23 sw s2,20(sp)
80000108: 00001097 auipc ra,0x1
8000010c: f0408093 addi ra,ra,-252 # 8000100c <test_A4_data>
80000110: 00001117 auipc sp,0x1
80000114: f6810113 addi sp,sp,-152 # 80001078 <test_A4_res>
80000118: 0000a903 lw s2,0(ra)
8000011c: 00000993 li s3,0
80000120: 00100a13 li s4,1
80000124: fff00a93 li s5,-1
80000128: 80000b37 lui s6,0x80000
8000012c: fffb0b13 addi s6,s6,-1 # 7fffffff <_end+0xffffef1f>
80000130: 80000bb7 lui s7,0x80000
80000134: 013909b3 add s3,s2,s3
80000138: 01490a33 add s4,s2,s4
8000013c: 01590ab3 add s5,s2,s5
80000140: 01690b33 add s6,s2,s6
80000144: 01790bb3 add s7,s2,s7
80000148: 01212023 sw s2,0(sp)
8000014c: 01312223 sw s3,4(sp)
80000150: 01412423 sw s4,8(sp)
80000154: 01512623 sw s5,12(sp)
80000158: 01612823 sw s6,16(sp)
8000015c: 01712a23 sw s7,20(sp)
80000160: 00001097 auipc ra,0x1
80000164: eb008093 addi ra,ra,-336 # 80001010 <test_A5_data>
80000168: 00001117 auipc sp,0x1
8000016c: f2810113 addi sp,sp,-216 # 80001090 <test_A5_res>
80000170: 0000ab83 lw s7,0(ra)
80000174: 00000c13 li s8,0
80000178: 00100c93 li s9,1
8000017c: fff00d13 li s10,-1
80000180: 80000db7 lui s11,0x80000
80000184: fffd8d93 addi s11,s11,-1 # 7fffffff <_end+0xffffef1f>
80000188: 80000e37 lui t3,0x80000
8000018c: 018b8c33 add s8,s7,s8
80000190: 019b8cb3 add s9,s7,s9
80000194: 01ab8d33 add s10,s7,s10
80000198: 01bb8db3 add s11,s7,s11
8000019c: 01cb8e33 add t3,s7,t3
800001a0: 01712023 sw s7,0(sp)
800001a4: 01812223 sw s8,4(sp)
800001a8: 01912423 sw s9,8(sp)
800001ac: 01a12623 sw s10,12(sp)
800001b0: 01b12823 sw s11,16(sp)
800001b4: 01c12a23 sw t3,20(sp)
800001b8: 00001c97 auipc s9,0x1
800001bc: e5cc8c93 addi s9,s9,-420 # 80001014 <test_B_data>
800001c0: 00001d17 auipc s10,0x1
800001c4: ee8d0d13 addi s10,s10,-280 # 800010a8 <test_B_res>
800001c8: 000cae03 lw t3,0(s9)
800001cc: 00100d93 li s11,1
800001d0: 01be0eb3 add t4,t3,s11
800001d4: 01be8f33 add t5,t4,s11
800001d8: 01bf0fb3 add t6,t5,s11
800001dc: 01bf80b3 add ra,t6,s11
800001e0: 01b08133 add sp,ra,s11
800001e4: 01b101b3 add gp,sp,s11
800001e8: 01bd2023 sw s11,0(s10)
800001ec: 01cd2223 sw t3,4(s10)
800001f0: 01dd2423 sw t4,8(s10)
800001f4: 01ed2623 sw t5,12(s10)
800001f8: 01fd2823 sw t6,16(s10)
800001fc: 001d2a23 sw ra,20(s10)
80000200: 002d2c23 sw sp,24(s10)
80000204: 003d2e23 sw gp,28(s10)
80000208: 00001097 auipc ra,0x1
8000020c: e1008093 addi ra,ra,-496 # 80001018 <test_C_data>
80000210: 00001117 auipc sp,0x1
80000214: eb810113 addi sp,sp,-328 # 800010c8 <test_C_res>
80000218: 0000ae03 lw t3,0(ra)
8000021c: f7ff9db7 lui s11,0xf7ff9
80000220: 818d8d93 addi s11,s11,-2024 # f7ff8818 <_end+0x77ff7738>
80000224: 01be0033 add zero,t3,s11
80000228: 00012023 sw zero,0(sp)
8000022c: 00001097 auipc ra,0x1
80000230: df008093 addi ra,ra,-528 # 8000101c <test_D_data>
80000234: 00001117 auipc sp,0x1
80000238: e9810113 addi sp,sp,-360 # 800010cc <test_D_res>
8000023c: 0000ae03 lw t3,0(ra)
80000240: f7ff9db7 lui s11,0xf7ff9
80000244: 818d8d93 addi s11,s11,-2024 # f7ff8818 <_end+0x77ff7738>
80000248: 01be0033 add zero,t3,s11
8000024c: 000002b3 add t0,zero,zero
80000250: 00012023 sw zero,0(sp)
80000254: 00512223 sw t0,4(sp)
80000258: 00001097 auipc ra,0x1
8000025c: dc808093 addi ra,ra,-568 # 80001020 <test_E_data>
80000260: 00001117 auipc sp,0x1
80000264: e7410113 addi sp,sp,-396 # 800010d4 <test_E_res>
80000268: 0000a183 lw gp,0(ra)
8000026c: 00018233 add tp,gp,zero
80000270: 000202b3 add t0,tp,zero
80000274: 00500333 add t1,zero,t0
80000278: 00030733 add a4,t1,zero
8000027c: 000707b3 add a5,a4,zero
80000280: 00078833 add a6,a5,zero
80000284: 01000cb3 add s9,zero,a6
80000288: 01900d33 add s10,zero,s9
8000028c: 000d0db3 add s11,s10,zero
80000290: 00412023 sw tp,0(sp)
80000294: 01a12223 sw s10,4(sp)
80000298: 01b12423 sw s11,8(sp)
8000029c: 00001517 auipc a0,0x1
800002a0: d9450513 addi a0,a0,-620 # 80001030 <codasip_signature_start>
800002a4: 00001597 auipc a1,0x1
800002a8: e3c58593 addi a1,a1,-452 # 800010e0 <_end>
800002ac: f0100637 lui a2,0xf0100
800002b0: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee4c>
800002b4 <complience_halt_loop>:
800002b4: 02b50663 beq a0,a1,800002e0 <complience_halt_break>
800002b8: 00c52683 lw a3,12(a0)
800002bc: 00d62023 sw a3,0(a2)
800002c0: 00852683 lw a3,8(a0)
800002c4: 00d62023 sw a3,0(a2)
800002c8: 00452683 lw a3,4(a0)
800002cc: 00d62023 sw a3,0(a2)
800002d0: 00052683 lw a3,0(a0)
800002d4: 00d62023 sw a3,0(a2)
800002d8: 01050513 addi a0,a0,16
800002dc: fd9ff06f j 800002b4 <complience_halt_loop>
800002e0 <complience_halt_break>:
800002e0: f0100537 lui a0,0xf0100
800002e4: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee40>
800002e8: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_B_data>:
80001014: abcd j 80001606 <_end+0x526>
...
80001018 <test_C_data>:
80001018: 5678 lw a4,108(a2)
8000101a: 1234 addi a3,sp,296
8000101c <test_D_data>:
8000101c: ba98 fsd fa4,48(a3)
8000101e: fedc fsw fa5,60(a3)
80001020 <test_E_data>:
80001020: 5814 lw a3,48(s0)
80001022: 3692 fld fa3,288(sp)
...
80001030 <codasip_signature_start>:
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048 <test_A2_res>:
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060 <test_A3_res>:
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078 <test_A4_res>:
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8 <test_B_res>:
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff
800010c0: ffff 0xffff
800010c2: ffff 0xffff
800010c4: ffff 0xffff
800010c6: ffff 0xffff
800010c8 <test_C_res>:
800010c8: ffff 0xffff
800010ca: ffff 0xffff
800010cc <test_D_res>:
800010cc: ffff 0xffff
800010ce: ffff 0xffff
800010d0: ffff 0xffff
800010d2: ffff 0xffff
800010d4 <test_E_res>:
800010d4: ffff 0xffff
800010d6: ffff 0xffff
800010d8: ffff 0xffff
800010da: ffff 0xffff
800010dc: ffff 0xffff
800010de: ffff 0xffff

View file

@ -0,0 +1,310 @@
/home/spinalvm/hdl/riscv-compliance/work//I-ADDI-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 02810113 addi sp,sp,40 # 80001030 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 00118213 addi tp,gp,1
80000018: 7ff18293 addi t0,gp,2047
8000001c: fff18313 addi t1,gp,-1
80000020: 00018393 mv t2,gp
80000024: 80018413 addi s0,gp,-2048
80000028: 00312023 sw gp,0(sp)
8000002c: 00412223 sw tp,4(sp)
80000030: 00512423 sw t0,8(sp)
80000034: 00612623 sw t1,12(sp)
80000038: 00712823 sw t2,16(sp)
8000003c: 00812a23 sw s0,20(sp)
80000040: 00001097 auipc ra,0x1
80000044: fc408093 addi ra,ra,-60 # 80001004 <test_A2_data>
80000048: 00001117 auipc sp,0x1
8000004c: 00010113 mv sp,sp
80000050: 0000a403 lw s0,0(ra)
80000054: 00140493 addi s1,s0,1
80000058: 7ff40513 addi a0,s0,2047
8000005c: fff40593 addi a1,s0,-1
80000060: 00040613 mv a2,s0
80000064: 80040693 addi a3,s0,-2048
80000068: 00812023 sw s0,0(sp) # 80001048 <test_A2_res>
8000006c: 00912223 sw s1,4(sp)
80000070: 00a12423 sw a0,8(sp)
80000074: 00b12623 sw a1,12(sp)
80000078: 00c12823 sw a2,16(sp)
8000007c: 00d12a23 sw a3,20(sp)
80000080: 00001097 auipc ra,0x1
80000084: f8808093 addi ra,ra,-120 # 80001008 <test_A3_data>
80000088: 00001117 auipc sp,0x1
8000008c: fd810113 addi sp,sp,-40 # 80001060 <test_A3_res>
80000090: 0000a683 lw a3,0(ra)
80000094: 00168713 addi a4,a3,1
80000098: 7ff68793 addi a5,a3,2047
8000009c: fff68813 addi a6,a3,-1
800000a0: 00068893 mv a7,a3
800000a4: 80068913 addi s2,a3,-2048
800000a8: 00d12023 sw a3,0(sp)
800000ac: 00e12223 sw a4,4(sp)
800000b0: 00f12423 sw a5,8(sp)
800000b4: 01012623 sw a6,12(sp)
800000b8: 01112823 sw a7,16(sp)
800000bc: 01212a23 sw s2,20(sp)
800000c0: 00001097 auipc ra,0x1
800000c4: f4c08093 addi ra,ra,-180 # 8000100c <test_A4_data>
800000c8: 00001117 auipc sp,0x1
800000cc: fb010113 addi sp,sp,-80 # 80001078 <test_A4_res>
800000d0: 0000a903 lw s2,0(ra)
800000d4: 00190993 addi s3,s2,1
800000d8: 7ff90a13 addi s4,s2,2047
800000dc: fff90a93 addi s5,s2,-1
800000e0: 00090b13 mv s6,s2
800000e4: 80090b93 addi s7,s2,-2048
800000e8: 01212023 sw s2,0(sp)
800000ec: 01312223 sw s3,4(sp)
800000f0: 01412423 sw s4,8(sp)
800000f4: 01512623 sw s5,12(sp)
800000f8: 01612823 sw s6,16(sp)
800000fc: 01712a23 sw s7,20(sp)
80000100: 00001097 auipc ra,0x1
80000104: f1008093 addi ra,ra,-240 # 80001010 <test_A5_data>
80000108: 00001117 auipc sp,0x1
8000010c: f8810113 addi sp,sp,-120 # 80001090 <test_A5_res>
80000110: 0000ab83 lw s7,0(ra)
80000114: 001b8c13 addi s8,s7,1
80000118: 7ffb8c93 addi s9,s7,2047
8000011c: fffb8d13 addi s10,s7,-1
80000120: 000b8d93 mv s11,s7
80000124: 800b8e13 addi t3,s7,-2048
80000128: 01712023 sw s7,0(sp)
8000012c: 01812223 sw s8,4(sp)
80000130: 01912423 sw s9,8(sp)
80000134: 01a12623 sw s10,12(sp)
80000138: 01b12823 sw s11,16(sp)
8000013c: 01c12a23 sw t3,20(sp)
80000140: 00001d17 auipc s10,0x1
80000144: ed4d0d13 addi s10,s10,-300 # 80001014 <test_B_data>
80000148: 00001d97 auipc s11,0x1
8000014c: f60d8d93 addi s11,s11,-160 # 800010a8 <test_B_res>
80000150: 000d2e03 lw t3,0(s10)
80000154: 001e0e93 addi t4,t3,1
80000158: 001e8f13 addi t5,t4,1
8000015c: 001f0f93 addi t6,t5,1
80000160: 001f8093 addi ra,t6,1
80000164: 00108113 addi sp,ra,1
80000168: 00110193 addi gp,sp,1
8000016c: 01cda023 sw t3,0(s11)
80000170: 01dda223 sw t4,4(s11)
80000174: 01eda423 sw t5,8(s11)
80000178: 01fda623 sw t6,12(s11)
8000017c: 001da823 sw ra,16(s11)
80000180: 002daa23 sw sp,20(s11)
80000184: 003dac23 sw gp,24(s11)
80000188: 00001097 auipc ra,0x1
8000018c: e9008093 addi ra,ra,-368 # 80001018 <test_C_data>
80000190: 00001117 auipc sp,0x1
80000194: f3410113 addi sp,sp,-204 # 800010c4 <test_C_res>
80000198: 0000a283 lw t0,0(ra)
8000019c: 00128013 addi zero,t0,1
800001a0: 00012023 sw zero,0(sp)
800001a4: 00001097 auipc ra,0x1
800001a8: e7808093 addi ra,ra,-392 # 8000101c <test_D_data>
800001ac: 00001117 auipc sp,0x1
800001b0: f1c10113 addi sp,sp,-228 # 800010c8 <test_D_res>
800001b4: 0000a283 lw t0,0(ra)
800001b8: 00128013 addi zero,t0,1
800001bc: 00100293 li t0,1
800001c0: 00012023 sw zero,0(sp)
800001c4: 00512223 sw t0,4(sp)
800001c8: 00001097 auipc ra,0x1
800001cc: e5808093 addi ra,ra,-424 # 80001020 <test_E_data>
800001d0: 00001117 auipc sp,0x1
800001d4: f0010113 addi sp,sp,-256 # 800010d0 <test_E_res>
800001d8: 0000a183 lw gp,0(ra)
800001dc: 00018213 mv tp,gp
800001e0: 00020293 mv t0,tp
800001e4: 00028313 mv t1,t0
800001e8: 00030713 mv a4,t1
800001ec: 00070793 mv a5,a4
800001f0: 00078813 mv a6,a5
800001f4: 00080c93 mv s9,a6
800001f8: 000c8d13 mv s10,s9
800001fc: 000d0d93 mv s11,s10
80000200: 00312023 sw gp,0(sp)
80000204: 00412223 sw tp,4(sp)
80000208: 01a12423 sw s10,8(sp)
8000020c: 01b12623 sw s11,12(sp)
80000210: 00001517 auipc a0,0x1
80000214: e2050513 addi a0,a0,-480 # 80001030 <codasip_signature_start>
80000218: 00001597 auipc a1,0x1
8000021c: ec858593 addi a1,a1,-312 # 800010e0 <_end>
80000220: f0100637 lui a2,0xf0100
80000224: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee4c>
80000228 <complience_halt_loop>:
80000228: 02b50663 beq a0,a1,80000254 <complience_halt_break>
8000022c: 00c52683 lw a3,12(a0)
80000230: 00d62023 sw a3,0(a2)
80000234: 00852683 lw a3,8(a0)
80000238: 00d62023 sw a3,0(a2)
8000023c: 00452683 lw a3,4(a0)
80000240: 00d62023 sw a3,0(a2)
80000244: 00052683 lw a3,0(a0)
80000248: 00d62023 sw a3,0(a2)
8000024c: 01050513 addi a0,a0,16
80000250: fd9ff06f j 80000228 <complience_halt_loop>
80000254 <complience_halt_break>:
80000254: f0100537 lui a0,0xf0100
80000258: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee40>
8000025c: 00052023 sw zero,0(a0)
80000260: 0000 unimp
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_B_data>:
80001014: abcd j 80001606 <_end+0x526>
...
80001018 <test_C_data>:
80001018: 5678 lw a4,108(a2)
8000101a: 1234 addi a3,sp,296
8000101c <test_D_data>:
8000101c: ba98 fsd fa4,48(a3)
8000101e: fedc fsw fa5,60(a3)
80001020 <test_E_data>:
80001020: 5814 lw a3,48(s0)
80001022: 3692 fld fa3,288(sp)
...
80001030 <codasip_signature_start>:
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048 <test_A2_res>:
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060 <test_A3_res>:
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078 <test_A4_res>:
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8 <test_B_res>:
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff
800010c0: ffff 0xffff
800010c2: ffff 0xffff
800010c4 <test_C_res>:
800010c4: ffff 0xffff
800010c6: ffff 0xffff
800010c8 <test_D_res>:
800010c8: ffff 0xffff
800010ca: ffff 0xffff
800010cc: ffff 0xffff
800010ce: ffff 0xffff
800010d0 <test_E_res>:
800010d0: ffff 0xffff
800010d2: ffff 0xffff
800010d4: ffff 0xffff
800010d6: ffff 0xffff
800010d8: ffff 0xffff
800010da: ffff 0xffff
800010dc: ffff 0xffff
800010de: ffff 0xffff

View file

@ -0,0 +1,349 @@
/home/spinalvm/hdl/riscv-compliance/work//I-AND-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 02810113 addi sp,sp,40 # 80001030 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 00000213 li tp,0
80000018: 00100293 li t0,1
8000001c: fff00313 li t1,-1
80000020: 800003b7 lui t2,0x80000
80000024: fff38393 addi t2,t2,-1 # 7fffffff <_end+0xffffef1f>
80000028: 80000437 lui s0,0x80000
8000002c: 0041f233 and tp,gp,tp
80000030: 0051f2b3 and t0,gp,t0
80000034: 0061f333 and t1,gp,t1
80000038: 0071f3b3 and t2,gp,t2
8000003c: 0081f433 and s0,gp,s0
80000040: 00312023 sw gp,0(sp)
80000044: 00412223 sw tp,4(sp)
80000048: 00512423 sw t0,8(sp)
8000004c: 00612623 sw t1,12(sp)
80000050: 00712823 sw t2,16(sp)
80000054: 00812a23 sw s0,20(sp)
80000058: 00001097 auipc ra,0x1
8000005c: fac08093 addi ra,ra,-84 # 80001004 <test_A2_data>
80000060: 00001117 auipc sp,0x1
80000064: fe810113 addi sp,sp,-24 # 80001048 <test_A2_res>
80000068: 0000a403 lw s0,0(ra)
8000006c: 00000493 li s1,0
80000070: 00100513 li a0,1
80000074: fff00593 li a1,-1
80000078: 80000637 lui a2,0x80000
8000007c: fff60613 addi a2,a2,-1 # 7fffffff <_end+0xffffef1f>
80000080: 800006b7 lui a3,0x80000
80000084: 009474b3 and s1,s0,s1
80000088: 00a47533 and a0,s0,a0
8000008c: 00b475b3 and a1,s0,a1
80000090: 00c47633 and a2,s0,a2
80000094: 00d476b3 and a3,s0,a3
80000098: 00812023 sw s0,0(sp)
8000009c: 00912223 sw s1,4(sp)
800000a0: 00a12423 sw a0,8(sp)
800000a4: 00b12623 sw a1,12(sp)
800000a8: 00c12823 sw a2,16(sp)
800000ac: 00d12a23 sw a3,20(sp)
800000b0: 00001097 auipc ra,0x1
800000b4: f5808093 addi ra,ra,-168 # 80001008 <test_A3_data>
800000b8: 00001117 auipc sp,0x1
800000bc: fa810113 addi sp,sp,-88 # 80001060 <test_A3_res>
800000c0: 0000a683 lw a3,0(ra)
800000c4: 00000713 li a4,0
800000c8: 00100793 li a5,1
800000cc: fff00813 li a6,-1
800000d0: 800008b7 lui a7,0x80000
800000d4: fff88893 addi a7,a7,-1 # 7fffffff <_end+0xffffef1f>
800000d8: 80000937 lui s2,0x80000
800000dc: 00e6f733 and a4,a3,a4
800000e0: 00f6f7b3 and a5,a3,a5
800000e4: 0106f833 and a6,a3,a6
800000e8: 0116f8b3 and a7,a3,a7
800000ec: 0126f933 and s2,a3,s2
800000f0: 00d12023 sw a3,0(sp)
800000f4: 00e12223 sw a4,4(sp)
800000f8: 00f12423 sw a5,8(sp)
800000fc: 01012623 sw a6,12(sp)
80000100: 01112823 sw a7,16(sp)
80000104: 01212a23 sw s2,20(sp)
80000108: 00001097 auipc ra,0x1
8000010c: f0408093 addi ra,ra,-252 # 8000100c <test_A4_data>
80000110: 00001117 auipc sp,0x1
80000114: f6810113 addi sp,sp,-152 # 80001078 <test_A4_res>
80000118: 0000a903 lw s2,0(ra)
8000011c: 00000993 li s3,0
80000120: 00100a13 li s4,1
80000124: fff00a93 li s5,-1
80000128: 80000b37 lui s6,0x80000
8000012c: fffb0b13 addi s6,s6,-1 # 7fffffff <_end+0xffffef1f>
80000130: 80000bb7 lui s7,0x80000
80000134: 013979b3 and s3,s2,s3
80000138: 01497a33 and s4,s2,s4
8000013c: 01597ab3 and s5,s2,s5
80000140: 01697b33 and s6,s2,s6
80000144: 01797bb3 and s7,s2,s7
80000148: 01212023 sw s2,0(sp)
8000014c: 01312223 sw s3,4(sp)
80000150: 01412423 sw s4,8(sp)
80000154: 01512623 sw s5,12(sp)
80000158: 01612823 sw s6,16(sp)
8000015c: 01712a23 sw s7,20(sp)
80000160: 00001097 auipc ra,0x1
80000164: eb008093 addi ra,ra,-336 # 80001010 <test_A5_data>
80000168: 00001117 auipc sp,0x1
8000016c: f2810113 addi sp,sp,-216 # 80001090 <test_A5_res>
80000170: 0000ab83 lw s7,0(ra)
80000174: 00000c13 li s8,0
80000178: 00100c93 li s9,1
8000017c: fff00d13 li s10,-1
80000180: 80000db7 lui s11,0x80000
80000184: fffd8d93 addi s11,s11,-1 # 7fffffff <_end+0xffffef1f>
80000188: 80000e37 lui t3,0x80000
8000018c: 018bfc33 and s8,s7,s8
80000190: 019bfcb3 and s9,s7,s9
80000194: 01abfd33 and s10,s7,s10
80000198: 01bbfdb3 and s11,s7,s11
8000019c: 01cbfe33 and t3,s7,t3
800001a0: 01712023 sw s7,0(sp)
800001a4: 01812223 sw s8,4(sp)
800001a8: 01912423 sw s9,8(sp)
800001ac: 01a12623 sw s10,12(sp)
800001b0: 01b12823 sw s11,16(sp)
800001b4: 01c12a23 sw t3,20(sp)
800001b8: 00001c97 auipc s9,0x1
800001bc: e5cc8c93 addi s9,s9,-420 # 80001014 <test_B_data>
800001c0: 00001d17 auipc s10,0x1
800001c4: ee8d0d13 addi s10,s10,-280 # 800010a8 <test_B_res>
800001c8: 000cae03 lw t3,0(s9)
800001cc: 07f00213 li tp,127
800001d0: 03f00293 li t0,63
800001d4: 01f00313 li t1,31
800001d8: 00f00393 li t2,15
800001dc: 00700413 li s0,7
800001e0: 00300493 li s1,3
800001e4: 004e7eb3 and t4,t3,tp
800001e8: 005eff33 and t5,t4,t0
800001ec: 006f7fb3 and t6,t5,t1
800001f0: 007ff0b3 and ra,t6,t2
800001f4: 0080f133 and sp,ra,s0
800001f8: 009171b3 and gp,sp,s1
800001fc: 004d2023 sw tp,0(s10)
80000200: 01cd2223 sw t3,4(s10)
80000204: 01dd2423 sw t4,8(s10)
80000208: 01ed2623 sw t5,12(s10)
8000020c: 01fd2823 sw t6,16(s10)
80000210: 001d2a23 sw ra,20(s10)
80000214: 002d2c23 sw sp,24(s10)
80000218: 003d2e23 sw gp,28(s10)
8000021c: 00001097 auipc ra,0x1
80000220: dfc08093 addi ra,ra,-516 # 80001018 <test_C_data>
80000224: 00001117 auipc sp,0x1
80000228: ea410113 addi sp,sp,-348 # 800010c8 <test_C_res>
8000022c: 0000ae03 lw t3,0(ra)
80000230: f7ff9db7 lui s11,0xf7ff9
80000234: 818d8d93 addi s11,s11,-2024 # f7ff8818 <_end+0x77ff7738>
80000238: 01be7033 and zero,t3,s11
8000023c: 00012023 sw zero,0(sp)
80000240: 00001097 auipc ra,0x1
80000244: ddc08093 addi ra,ra,-548 # 8000101c <test_D_data>
80000248: 00001117 auipc sp,0x1
8000024c: e8410113 addi sp,sp,-380 # 800010cc <test_D_res>
80000250: 0000ae03 lw t3,0(ra)
80000254: f7ff9db7 lui s11,0xf7ff9
80000258: 818d8d93 addi s11,s11,-2024 # f7ff8818 <_end+0x77ff7738>
8000025c: 01be7033 and zero,t3,s11
80000260: 000072b3 and t0,zero,zero
80000264: 00012023 sw zero,0(sp)
80000268: 00512223 sw t0,4(sp)
8000026c: 00001097 auipc ra,0x1
80000270: db408093 addi ra,ra,-588 # 80001020 <test_E_data>
80000274: 00001117 auipc sp,0x1
80000278: e6010113 addi sp,sp,-416 # 800010d4 <test_E_res>
8000027c: 0000a183 lw gp,0(ra)
80000280: fff00393 li t2,-1
80000284: 0071f233 and tp,gp,t2
80000288: 007272b3 and t0,tp,t2
8000028c: 0053f333 and t1,t2,t0
80000290: 00737733 and a4,t1,t2
80000294: 007777b3 and a5,a4,t2
80000298: 0077f833 and a6,a5,t2
8000029c: 0103fcb3 and s9,t2,a6
800002a0: 0193fd33 and s10,t2,s9
800002a4: 007d7db3 and s11,s10,t2
800002a8: 00412023 sw tp,0(sp)
800002ac: 01a12223 sw s10,4(sp)
800002b0: 01b12423 sw s11,8(sp)
800002b4: 00001517 auipc a0,0x1
800002b8: d7c50513 addi a0,a0,-644 # 80001030 <codasip_signature_start>
800002bc: 00001597 auipc a1,0x1
800002c0: e2458593 addi a1,a1,-476 # 800010e0 <_end>
800002c4: f0100637 lui a2,0xf0100
800002c8: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee4c>
800002cc <complience_halt_loop>:
800002cc: 02b50663 beq a0,a1,800002f8 <complience_halt_break>
800002d0: 00c52683 lw a3,12(a0)
800002d4: 00d62023 sw a3,0(a2)
800002d8: 00852683 lw a3,8(a0)
800002dc: 00d62023 sw a3,0(a2)
800002e0: 00452683 lw a3,4(a0)
800002e4: 00d62023 sw a3,0(a2)
800002e8: 00052683 lw a3,0(a0)
800002ec: 00d62023 sw a3,0(a2)
800002f0: 01050513 addi a0,a0,16
800002f4: fd9ff06f j 800002cc <complience_halt_loop>
800002f8 <complience_halt_break>:
800002f8: f0100537 lui a0,0xf0100
800002fc: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee40>
80000300: 00052023 sw zero,0(a0)
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_B_data>:
80001014: ffff 0xffff
80001016: abcd j 80001608 <_end+0x528>
80001018 <test_C_data>:
80001018: 5678 lw a4,108(a2)
8000101a: 1234 addi a3,sp,296
8000101c <test_D_data>:
8000101c: ba98 fsd fa4,48(a3)
8000101e: fedc fsw fa5,60(a3)
80001020 <test_E_data>:
80001020: 5814 lw a3,48(s0)
80001022: 3692 fld fa3,288(sp)
...
80001030 <codasip_signature_start>:
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048 <test_A2_res>:
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060 <test_A3_res>:
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078 <test_A4_res>:
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8 <test_B_res>:
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff
800010c0: ffff 0xffff
800010c2: ffff 0xffff
800010c4: ffff 0xffff
800010c6: ffff 0xffff
800010c8 <test_C_res>:
800010c8: ffff 0xffff
800010ca: ffff 0xffff
800010cc <test_D_res>:
800010cc: ffff 0xffff
800010ce: ffff 0xffff
800010d0: ffff 0xffff
800010d2: ffff 0xffff
800010d4 <test_E_res>:
800010d4: ffff 0xffff
800010d6: ffff 0xffff
800010d8: ffff 0xffff
800010da: ffff 0xffff
800010dc: ffff 0xffff
800010de: ffff 0xffff

View file

@ -0,0 +1,310 @@
/home/spinalvm/hdl/riscv-compliance/work//I-ANDI-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 02810113 addi sp,sp,40 # 80001030 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 0011f213 andi tp,gp,1
80000018: 7ff1f293 andi t0,gp,2047
8000001c: fff1f313 andi t1,gp,-1
80000020: 0001f393 andi t2,gp,0
80000024: 8001f413 andi s0,gp,-2048
80000028: 00312023 sw gp,0(sp)
8000002c: 00412223 sw tp,4(sp)
80000030: 00512423 sw t0,8(sp)
80000034: 00612623 sw t1,12(sp)
80000038: 00712823 sw t2,16(sp)
8000003c: 00812a23 sw s0,20(sp)
80000040: 00001097 auipc ra,0x1
80000044: fc408093 addi ra,ra,-60 # 80001004 <test_A2_data>
80000048: 00001117 auipc sp,0x1
8000004c: 00010113 mv sp,sp
80000050: 0000a403 lw s0,0(ra)
80000054: 00147493 andi s1,s0,1
80000058: 7ff47513 andi a0,s0,2047
8000005c: fff47593 andi a1,s0,-1
80000060: 00047613 andi a2,s0,0
80000064: 80047693 andi a3,s0,-2048
80000068: 00812023 sw s0,0(sp) # 80001048 <test_A2_res>
8000006c: 00912223 sw s1,4(sp)
80000070: 00a12423 sw a0,8(sp)
80000074: 00b12623 sw a1,12(sp)
80000078: 00c12823 sw a2,16(sp)
8000007c: 00d12a23 sw a3,20(sp)
80000080: 00001097 auipc ra,0x1
80000084: f8808093 addi ra,ra,-120 # 80001008 <test_A3_data>
80000088: 00001117 auipc sp,0x1
8000008c: fd810113 addi sp,sp,-40 # 80001060 <test_A3_res>
80000090: 0000a683 lw a3,0(ra)
80000094: 0016f713 andi a4,a3,1
80000098: 7ff6f793 andi a5,a3,2047
8000009c: fff6f813 andi a6,a3,-1
800000a0: 0006f893 andi a7,a3,0
800000a4: 8006f913 andi s2,a3,-2048
800000a8: 00d12023 sw a3,0(sp)
800000ac: 00e12223 sw a4,4(sp)
800000b0: 00f12423 sw a5,8(sp)
800000b4: 01012623 sw a6,12(sp)
800000b8: 01112823 sw a7,16(sp)
800000bc: 01212a23 sw s2,20(sp)
800000c0: 00001097 auipc ra,0x1
800000c4: f4c08093 addi ra,ra,-180 # 8000100c <test_A4_data>
800000c8: 00001117 auipc sp,0x1
800000cc: fb010113 addi sp,sp,-80 # 80001078 <test_A4_res>
800000d0: 0000a903 lw s2,0(ra)
800000d4: 00197993 andi s3,s2,1
800000d8: 7ff97a13 andi s4,s2,2047
800000dc: fff97a93 andi s5,s2,-1
800000e0: 00097b13 andi s6,s2,0
800000e4: 80097b93 andi s7,s2,-2048
800000e8: 01212023 sw s2,0(sp)
800000ec: 01312223 sw s3,4(sp)
800000f0: 01412423 sw s4,8(sp)
800000f4: 01512623 sw s5,12(sp)
800000f8: 01612823 sw s6,16(sp)
800000fc: 01712a23 sw s7,20(sp)
80000100: 00001097 auipc ra,0x1
80000104: f1008093 addi ra,ra,-240 # 80001010 <test_A5_data>
80000108: 00001117 auipc sp,0x1
8000010c: f8810113 addi sp,sp,-120 # 80001090 <test_A5_res>
80000110: 0000ab83 lw s7,0(ra)
80000114: 001bfc13 andi s8,s7,1
80000118: 7ffbfc93 andi s9,s7,2047
8000011c: fffbfd13 andi s10,s7,-1
80000120: 000bfd93 andi s11,s7,0
80000124: 800bfe13 andi t3,s7,-2048
80000128: 01712023 sw s7,0(sp)
8000012c: 01812223 sw s8,4(sp)
80000130: 01912423 sw s9,8(sp)
80000134: 01a12623 sw s10,12(sp)
80000138: 01b12823 sw s11,16(sp)
8000013c: 01c12a23 sw t3,20(sp)
80000140: 00001d17 auipc s10,0x1
80000144: ed4d0d13 addi s10,s10,-300 # 80001014 <test_B_data>
80000148: 00001d97 auipc s11,0x1
8000014c: f60d8d93 addi s11,s11,-160 # 800010a8 <test_B_res>
80000150: 000d2e03 lw t3,0(s10)
80000154: 07fe7e93 andi t4,t3,127
80000158: 03feff13 andi t5,t4,63
8000015c: 01ff7f93 andi t6,t5,31
80000160: 00fff093 andi ra,t6,15
80000164: 0070f113 andi sp,ra,7
80000168: 00317193 andi gp,sp,3
8000016c: 01cda023 sw t3,0(s11)
80000170: 01dda223 sw t4,4(s11)
80000174: 01eda423 sw t5,8(s11)
80000178: 01fda623 sw t6,12(s11)
8000017c: 001da823 sw ra,16(s11)
80000180: 002daa23 sw sp,20(s11)
80000184: 003dac23 sw gp,24(s11)
80000188: 00001097 auipc ra,0x1
8000018c: e9008093 addi ra,ra,-368 # 80001018 <test_C_data>
80000190: 00001117 auipc sp,0x1
80000194: f3410113 addi sp,sp,-204 # 800010c4 <test_C_res>
80000198: 0000a283 lw t0,0(ra)
8000019c: 0012f013 andi zero,t0,1
800001a0: 00012023 sw zero,0(sp)
800001a4: 00001097 auipc ra,0x1
800001a8: e7808093 addi ra,ra,-392 # 8000101c <test_D_data>
800001ac: 00001117 auipc sp,0x1
800001b0: f1c10113 addi sp,sp,-228 # 800010c8 <test_D_res>
800001b4: 0000a283 lw t0,0(ra)
800001b8: 0012f013 andi zero,t0,1
800001bc: 00107293 andi t0,zero,1
800001c0: 00012023 sw zero,0(sp)
800001c4: 00512223 sw t0,4(sp)
800001c8: 00001097 auipc ra,0x1
800001cc: e5808093 addi ra,ra,-424 # 80001020 <test_E_data>
800001d0: 00001117 auipc sp,0x1
800001d4: f0010113 addi sp,sp,-256 # 800010d0 <test_E_res>
800001d8: 0000a183 lw gp,0(ra)
800001dc: fff1f213 andi tp,gp,-1
800001e0: fff27293 andi t0,tp,-1
800001e4: fff2f313 andi t1,t0,-1
800001e8: fff37713 andi a4,t1,-1
800001ec: fff77793 andi a5,a4,-1
800001f0: fff7f813 andi a6,a5,-1
800001f4: fff87c93 andi s9,a6,-1
800001f8: fffcfd13 andi s10,s9,-1
800001fc: fffd7d93 andi s11,s10,-1
80000200: 00312023 sw gp,0(sp)
80000204: 00412223 sw tp,4(sp)
80000208: 01a12423 sw s10,8(sp)
8000020c: 01b12623 sw s11,12(sp)
80000210: 00001517 auipc a0,0x1
80000214: e2050513 addi a0,a0,-480 # 80001030 <codasip_signature_start>
80000218: 00001597 auipc a1,0x1
8000021c: ec858593 addi a1,a1,-312 # 800010e0 <_end>
80000220: f0100637 lui a2,0xf0100
80000224: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee4c>
80000228 <complience_halt_loop>:
80000228: 02b50663 beq a0,a1,80000254 <complience_halt_break>
8000022c: 00c52683 lw a3,12(a0)
80000230: 00d62023 sw a3,0(a2)
80000234: 00852683 lw a3,8(a0)
80000238: 00d62023 sw a3,0(a2)
8000023c: 00452683 lw a3,4(a0)
80000240: 00d62023 sw a3,0(a2)
80000244: 00052683 lw a3,0(a0)
80000248: 00d62023 sw a3,0(a2)
8000024c: 01050513 addi a0,a0,16
80000250: fd9ff06f j 80000228 <complience_halt_loop>
80000254 <complience_halt_break>:
80000254: f0100537 lui a0,0xf0100
80000258: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee40>
8000025c: 00052023 sw zero,0(a0)
80000260: 0000 unimp
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_B_data>:
80001014: ffff 0xffff
80001016: abcd j 80001608 <_end+0x528>
80001018 <test_C_data>:
80001018: 5678 lw a4,108(a2)
8000101a: 1234 addi a3,sp,296
8000101c <test_D_data>:
8000101c: ba98 fsd fa4,48(a3)
8000101e: fedc fsw fa5,60(a3)
80001020 <test_E_data>:
80001020: 5814 lw a3,48(s0)
80001022: 3692 fld fa3,288(sp)
...
80001030 <codasip_signature_start>:
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048 <test_A2_res>:
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060 <test_A3_res>:
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078 <test_A4_res>:
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8 <test_B_res>:
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff
800010c0: ffff 0xffff
800010c2: ffff 0xffff
800010c4 <test_C_res>:
800010c4: ffff 0xffff
800010c6: ffff 0xffff
800010c8 <test_D_res>:
800010c8: ffff 0xffff
800010ca: ffff 0xffff
800010cc: ffff 0xffff
800010ce: ffff 0xffff
800010d0 <test_E_res>:
800010d0: ffff 0xffff
800010d2: ffff 0xffff
800010d4: ffff 0xffff
800010d6: ffff 0xffff
800010d8: ffff 0xffff
800010da: ffff 0xffff
800010dc: ffff 0xffff
800010de: ffff 0xffff

View file

@ -0,0 +1,205 @@
/home/spinalvm/hdl/riscv-compliance/work//I-AUIPC-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001717 auipc a4,0x1
80000004: 00070713 mv a4,a4
80000008: 00001797 auipc a5,0x1
8000000c: 01878793 addi a5,a5,24 # 80001020 <codasip_signature_start>
80000010: 00072083 lw ra,0(a4) # 80001000 <test_A_data>
80000014: 00001137 lui sp,0x1
80000018: 00410113 addi sp,sp,4 # 1004 <_start-0x7fffeffc>
8000001c: fffff1b7 lui gp,0xfffff
80000020: 00818193 addi gp,gp,8 # fffff008 <_end+0x7fffdfa8>
80000024: 7ffff237 lui tp,0x7ffff
80000028: 00c20213 addi tp,tp,12 # 7ffff00c <_start-0xff4>
8000002c: 800002b7 lui t0,0x80000
80000030: 01028293 addi t0,t0,16 # 80000010 <_end+0xffffefb0>
80000034: 00208133 add sp,ra,sp
80000038: 003081b3 add gp,ra,gp
8000003c: 00408233 add tp,ra,tp
80000040: 005082b3 add t0,ra,t0
80000044 <test_A>:
80000044: 00000317 auipc t1,0x0
80000048: 00001397 auipc t2,0x1
8000004c: fffff817 auipc a6,0xfffff
80000050: 7ffffe97 auipc t4,0x7ffff
80000054: 80000f97 auipc t6,0x80000
80000058: 00134333 xor t1,t1,ra
8000005c: 0023c3b3 xor t2,t2,sp
80000060: 00384833 xor a6,a6,gp
80000064: 004eceb3 xor t4,t4,tp
80000068: 005fcfb3 xor t6,t6,t0
8000006c: 0067a023 sw t1,0(a5)
80000070: 0077a223 sw t2,4(a5)
80000074: 0107a423 sw a6,8(a5)
80000078: 01d7a623 sw t4,12(a5)
8000007c: 01f7a823 sw t6,16(a5)
80000080: 00001897 auipc a7,0x1
80000084: f8488893 addi a7,a7,-124 # 80001004 <test_B_data>
80000088: 00001817 auipc a6,0x1
8000008c: fac80813 addi a6,a6,-84 # 80001034 <test_B_res>
80000090: 111110b7 lui ra,0x11111
80000094: 11108093 addi ra,ra,273 # 11111111 <_start-0x6eeeeeef>
80000098: 22222137 lui sp,0x22222
8000009c: 22210113 addi sp,sp,546 # 22222222 <_start-0x5dddddde>
800000a0: 333337b7 lui a5,0x33333
800000a4: 33378793 addi a5,a5,819 # 33333333 <_start-0x4ccccccd>
800000a8: 44444e37 lui t3,0x44444
800000ac: 444e0e13 addi t3,t3,1092 # 44444444 <_start-0x3bbbbbbc>
800000b0: 55555f37 lui t5,0x55555
800000b4: 555f0f13 addi t5,t5,1365 # 55555555 <_start-0x2aaaaaab>
800000b8: 0008a183 lw gp,0(a7)
800000bc: 80000237 lui tp,0x80000
800000c0: 7ffff2b7 lui t0,0x7ffff
800000c4: 00428293 addi t0,t0,4 # 7ffff004 <_start-0xffc>
800000c8: 00800313 li t1,8
800000cc: 000013b7 lui t2,0x1
800000d0: 00c38393 addi t2,t2,12 # 100c <_start-0x7fffeff4>
800000d4: fffff437 lui s0,0xfffff
800000d8: 01040413 addi s0,s0,16 # fffff010 <_end+0x7fffdfb0>
800000dc: 00418233 add tp,gp,tp
800000e0: 005182b3 add t0,gp,t0
800000e4: 00618333 add t1,gp,t1
800000e8: 007183b3 add t2,gp,t2
800000ec: 00818433 add s0,gp,s0
800000f0 <test_B>:
800000f0: 80000097 auipc ra,0x80000
800000f4: 7ffff117 auipc sp,0x7ffff
800000f8: 00000797 auipc a5,0x0
800000fc: 00001e17 auipc t3,0x1
80000100: ffffff17 auipc t5,0xfffff
80000104: 0040c0b3 xor ra,ra,tp
80000108: 00514133 xor sp,sp,t0
8000010c: 0067c7b3 xor a5,a5,t1
80000110: 007e4e33 xor t3,t3,t2
80000114: 008f4f33 xor t5,t5,s0
80000118: 00182023 sw ra,0(a6)
8000011c: 00282223 sw sp,4(a6)
80000120: 00f82423 sw a5,8(a6)
80000124: 01c82623 sw t3,12(a6)
80000128: 01e82823 sw t5,16(a6)
8000012c: 00001917 auipc s2,0x1
80000130: edc90913 addi s2,s2,-292 # 80001008 <test_C_data>
80000134: 00001897 auipc a7,0x1
80000138: f1488893 addi a7,a7,-236 # 80001048 <test_C_res>
8000013c <test_C1>:
8000013c: 00092083 lw ra,0(s2)
80000140: 00492103 lw sp,4(s2)
80000144: 00892183 lw gp,8(s2)
80000148: 00000217 auipc tp,0x0
8000014c: ff420213 addi tp,tp,-12 # 8000013c <test_C1>
80000150: 00000797 auipc a5,0x0
80000154: 01878793 addi a5,a5,24 # 80000168 <test_C2>
80000158: 00000f17 auipc t5,0x0
8000015c: 040f0f13 addi t5,t5,64 # 80000198 <test_C3>
80000160: 00000297 auipc t0,0x0
80000164: fdc28293 addi t0,t0,-36 # 8000013c <test_C1>
80000168 <test_C2>:
80000168: 00000817 auipc a6,0x0
8000016c: 00080813 mv a6,a6
80000170: 00000f97 auipc t6,0x0
80000174: 028f8f93 addi t6,t6,40 # 80000198 <test_C3>
80000178: 00124233 xor tp,tp,ra
8000017c: 0027c7b3 xor a5,a5,sp
80000180: 003f4f33 xor t5,t5,gp
80000184: 401282b3 sub t0,t0,ra
80000188: 00284833 xor a6,a6,sp
8000018c: 003fcfb3 xor t6,t6,gp
80000190: 0048a023 sw tp,0(a7)
80000194: 00f8a223 sw a5,4(a7)
80000198 <test_C3>:
80000198: 01e8a423 sw t5,8(a7)
8000019c: 0058a623 sw t0,12(a7)
800001a0: 0108a823 sw a6,16(a7)
800001a4: 01f8aa23 sw t6,20(a7)
800001a8: 00001517 auipc a0,0x1
800001ac: e7850513 addi a0,a0,-392 # 80001020 <codasip_signature_start>
800001b0: 00001597 auipc a1,0x1
800001b4: eb058593 addi a1,a1,-336 # 80001060 <_end>
800001b8: f0100637 lui a2,0xf0100
800001bc: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feecc>
800001c0 <complience_halt_loop>:
800001c0: 02b50663 beq a0,a1,800001ec <complience_halt_break>
800001c4: 00c52683 lw a3,12(a0)
800001c8: 00d62023 sw a3,0(a2)
800001cc: 00852683 lw a3,8(a0)
800001d0: 00d62023 sw a3,0(a2)
800001d4: 00452683 lw a3,4(a0)
800001d8: 00d62023 sw a3,0(a2)
800001dc: 00052683 lw a3,0(a0)
800001e0: 00d62023 sw a3,0(a2)
800001e4: 01050513 addi a0,a0,16
800001e8: fd9ff06f j 800001c0 <complience_halt_loop>
800001ec <complience_halt_break>:
800001ec: f0100537 lui a0,0xf0100
800001f0: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feec0>
800001f4: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <test_A_data>:
80001000: 0044 addi s1,sp,4
80001002: 8000 0x8000
80001004 <test_B_data>:
80001004: 00f0 addi a2,sp,76
80001006: 8000 0x8000
80001008 <test_C_data>:
80001008: 013c addi a5,sp,136
8000100a: 8000 0x8000
8000100c: 0168 addi a0,sp,140
8000100e: 8000 0x8000
80001010: 0198 addi a4,sp,192
80001012: 8000 0x8000
...
80001020 <codasip_signature_start>:
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034 <test_B_res>:
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048 <test_C_res>:
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff

View file

@ -0,0 +1,356 @@
/home/spinalvm/hdl/riscv-compliance/work//I-BEQ-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 01810113 addi sp,sp,24 # 80001020 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 00000213 li tp,0
80000018: 00100293 li t0,1
8000001c: fff00313 li t1,-1
80000020: 800003b7 lui t2,0x80000
80000024: fff38393 addi t2,t2,-1 # 7fffffff <_end+0xffffef3f>
80000028: 80000437 lui s0,0x80000
8000002c: 00000f93 li t6,0
80000030: 00418463 beq gp,tp,80000038 <_start+0x38>
80000034: 001fef93 ori t6,t6,1
80000038: 00518463 beq gp,t0,80000040 <_start+0x40>
8000003c: 002fef93 ori t6,t6,2
80000040: 00618463 beq gp,t1,80000048 <_start+0x48>
80000044: 004fef93 ori t6,t6,4
80000048: 00718463 beq gp,t2,80000050 <_start+0x50>
8000004c: 008fef93 ori t6,t6,8
80000050: 00818463 beq gp,s0,80000058 <_start+0x58>
80000054: 010fef93 ori t6,t6,16
80000058: 00312023 sw gp,0(sp)
8000005c: 00412223 sw tp,4(sp)
80000060: 00512423 sw t0,8(sp)
80000064: 00612623 sw t1,12(sp)
80000068: 00712823 sw t2,16(sp)
8000006c: 00812a23 sw s0,20(sp)
80000070: 01f12c23 sw t6,24(sp)
80000074: 00001097 auipc ra,0x1
80000078: f9008093 addi ra,ra,-112 # 80001004 <test_A2_data>
8000007c: 00001117 auipc sp,0x1
80000080: fc010113 addi sp,sp,-64 # 8000103c <test_A2_res>
80000084: 0000a303 lw t1,0(ra)
80000088: 00000393 li t2,0
8000008c: 00100413 li s0,1
80000090: fff00493 li s1,-1
80000094: 80000537 lui a0,0x80000
80000098: fff50513 addi a0,a0,-1 # 7fffffff <_end+0xffffef3f>
8000009c: 800005b7 lui a1,0x80000
800000a0: 00000f93 li t6,0
800000a4: 00730463 beq t1,t2,800000ac <_start+0xac>
800000a8: 001fef93 ori t6,t6,1
800000ac: 00830463 beq t1,s0,800000b4 <_start+0xb4>
800000b0: 002fef93 ori t6,t6,2
800000b4: 00930463 beq t1,s1,800000bc <_start+0xbc>
800000b8: 004fef93 ori t6,t6,4
800000bc: 00a30463 beq t1,a0,800000c4 <_start+0xc4>
800000c0: 008fef93 ori t6,t6,8
800000c4: 00b30463 beq t1,a1,800000cc <_start+0xcc>
800000c8: 010fef93 ori t6,t6,16
800000cc: 00612023 sw t1,0(sp)
800000d0: 00712223 sw t2,4(sp)
800000d4: 00812423 sw s0,8(sp)
800000d8: 00912623 sw s1,12(sp)
800000dc: 00a12823 sw a0,16(sp)
800000e0: 00b12a23 sw a1,20(sp)
800000e4: 01f12c23 sw t6,24(sp)
800000e8: 00001097 auipc ra,0x1
800000ec: f2008093 addi ra,ra,-224 # 80001008 <test_A3_data>
800000f0: 00001117 auipc sp,0x1
800000f4: f6810113 addi sp,sp,-152 # 80001058 <test_A3_res>
800000f8: 0000a603 lw a2,0(ra)
800000fc: 00000693 li a3,0
80000100: 00100713 li a4,1
80000104: fff00793 li a5,-1
80000108: 80000837 lui a6,0x80000
8000010c: fff80813 addi a6,a6,-1 # 7fffffff <_end+0xffffef3f>
80000110: 800008b7 lui a7,0x80000
80000114: 00000f93 li t6,0
80000118: 00d60463 beq a2,a3,80000120 <_start+0x120>
8000011c: 001fef93 ori t6,t6,1
80000120: 00e60463 beq a2,a4,80000128 <_start+0x128>
80000124: 002fef93 ori t6,t6,2
80000128: 00f60463 beq a2,a5,80000130 <_start+0x130>
8000012c: 004fef93 ori t6,t6,4
80000130: 01060463 beq a2,a6,80000138 <_start+0x138>
80000134: 008fef93 ori t6,t6,8
80000138: 01160463 beq a2,a7,80000140 <_start+0x140>
8000013c: 010fef93 ori t6,t6,16
80000140: 00c12023 sw a2,0(sp)
80000144: 00d12223 sw a3,4(sp)
80000148: 00e12423 sw a4,8(sp)
8000014c: 00f12623 sw a5,12(sp)
80000150: 01012823 sw a6,16(sp)
80000154: 01112a23 sw a7,20(sp)
80000158: 01f12c23 sw t6,24(sp)
8000015c: 00001097 auipc ra,0x1
80000160: eb008093 addi ra,ra,-336 # 8000100c <test_A4_data>
80000164: 00001117 auipc sp,0x1
80000168: f1010113 addi sp,sp,-240 # 80001074 <test_A4_res>
8000016c: 0000a903 lw s2,0(ra)
80000170: 00000993 li s3,0
80000174: 00100a13 li s4,1
80000178: fff00a93 li s5,-1
8000017c: 80000b37 lui s6,0x80000
80000180: fffb0b13 addi s6,s6,-1 # 7fffffff <_end+0xffffef3f>
80000184: 80000bb7 lui s7,0x80000
80000188: 00000f93 li t6,0
8000018c: 01390463 beq s2,s3,80000194 <_start+0x194>
80000190: 001fef93 ori t6,t6,1
80000194: 01490463 beq s2,s4,8000019c <_start+0x19c>
80000198: 002fef93 ori t6,t6,2
8000019c: 01590463 beq s2,s5,800001a4 <_start+0x1a4>
800001a0: 004fef93 ori t6,t6,4
800001a4: 01690463 beq s2,s6,800001ac <_start+0x1ac>
800001a8: 008fef93 ori t6,t6,8
800001ac: 01790463 beq s2,s7,800001b4 <_start+0x1b4>
800001b0: 010fef93 ori t6,t6,16
800001b4: 01212023 sw s2,0(sp)
800001b8: 01312223 sw s3,4(sp)
800001bc: 01412423 sw s4,8(sp)
800001c0: 01512623 sw s5,12(sp)
800001c4: 01612823 sw s6,16(sp)
800001c8: 01712a23 sw s7,20(sp)
800001cc: 01f12c23 sw t6,24(sp)
800001d0: 00001097 auipc ra,0x1
800001d4: e4008093 addi ra,ra,-448 # 80001010 <test_A5_data>
800001d8: 00001117 auipc sp,0x1
800001dc: eb810113 addi sp,sp,-328 # 80001090 <test_A5_res>
800001e0: 0000ac03 lw s8,0(ra)
800001e4: 00000c93 li s9,0
800001e8: 00100d13 li s10,1
800001ec: fff00d93 li s11,-1
800001f0: 80000e37 lui t3,0x80000
800001f4: fffe0e13 addi t3,t3,-1 # 7fffffff <_end+0xffffef3f>
800001f8: 80000eb7 lui t4,0x80000
800001fc: 00000f93 li t6,0
80000200: 019c0463 beq s8,s9,80000208 <_start+0x208>
80000204: 001fef93 ori t6,t6,1
80000208: 01ac0463 beq s8,s10,80000210 <_start+0x210>
8000020c: 002fef93 ori t6,t6,2
80000210: 01bc0463 beq s8,s11,80000218 <_start+0x218>
80000214: 004fef93 ori t6,t6,4
80000218: 01cc0463 beq s8,t3,80000220 <_start+0x220>
8000021c: 008fef93 ori t6,t6,8
80000220: 01dc0463 beq s8,t4,80000228 <_start+0x228>
80000224: 010fef93 ori t6,t6,16
80000228: 01812023 sw s8,0(sp)
8000022c: 01912223 sw s9,4(sp)
80000230: 01a12423 sw s10,8(sp)
80000234: 01b12623 sw s11,12(sp)
80000238: 01c12823 sw t3,16(sp)
8000023c: 01d12a23 sw t4,20(sp)
80000240: 01f12c23 sw t6,24(sp)
80000244: 00001d97 auipc s11,0x1
80000248: e68d8d93 addi s11,s11,-408 # 800010ac <test_B_res>
8000024c: 00000093 li ra,0
80000250: 00100113 li sp,1
80000254: fff00193 li gp,-1
80000258: 80000237 lui tp,0x80000
8000025c: fff20213 addi tp,tp,-1 # 7fffffff <_end+0xffffef3f>
80000260: 800002b7 lui t0,0x80000
80000264: 00000f93 li t6,0
80000268: 00008463 beqz ra,80000270 <_start+0x270>
8000026c: 001fef93 ori t6,t6,1
80000270: 00010463 beqz sp,80000278 <_start+0x278>
80000274: 002fef93 ori t6,t6,2
80000278: 00018463 beqz gp,80000280 <_start+0x280>
8000027c: 004fef93 ori t6,t6,4
80000280: 00020463 beqz tp,80000288 <_start+0x288>
80000284: 008fef93 ori t6,t6,8
80000288: 00028463 beqz t0,80000290 <_start+0x290>
8000028c: 010fef93 ori t6,t6,16
80000290: 00100463 beq zero,ra,80000298 <_start+0x298>
80000294: 020fef93 ori t6,t6,32
80000298: 00200463 beq zero,sp,800002a0 <_start+0x2a0>
8000029c: 040fef93 ori t6,t6,64
800002a0: 00300463 beq zero,gp,800002a8 <_start+0x2a8>
800002a4: 080fef93 ori t6,t6,128
800002a8: 00400463 beq zero,tp,800002b0 <_start+0x2b0>
800002ac: 100fef93 ori t6,t6,256
800002b0: 00500463 beq zero,t0,800002b8 <_start+0x2b8>
800002b4: 200fef93 ori t6,t6,512
800002b8: 01fda023 sw t6,0(s11)
800002bc: 00001a97 auipc s5,0x1
800002c0: d58a8a93 addi s5,s5,-680 # 80001014 <test_C_data>
800002c4: 00001b17 auipc s6,0x1
800002c8: decb0b13 addi s6,s6,-532 # 800010b0 <test_C_res>
800002cc: 000aaf83 lw t6,0(s5)
800002d0: fff00113 li sp,-1
800002d4: fff00193 li gp,-1
800002d8: 0fedd237 lui tp,0xfedd
800002dc: ba920213 addi tp,tp,-1111 # fedcba9 <_start-0x70123457>
800002e0: 020f8463 beqz t6,80000308 <_start+0x308>
800002e4: 00000113 li sp,0
800002e8: 00000193 li gp,0
800002ec: 00000213 li tp,0
800002f0: 876541b7 lui gp,0x87654
800002f4: 32118193 addi gp,gp,801 # 87654321 <_end+0x7653261>
800002f8: 020f8463 beqz t6,80000320 <_start+0x320>
800002fc: 00000113 li sp,0
80000300: 00000193 li gp,0
80000304: 00000213 li tp,0
80000308: 9abce137 lui sp,0x9abce
8000030c: ef010113 addi sp,sp,-272 # 9abcdef0 <_end+0x1abcce30>
80000310: fe0f80e3 beqz t6,800002f0 <_start+0x2f0>
80000314: 00000113 li sp,0
80000318: 00000193 li gp,0
8000031c: 00000213 li tp,0
80000320: 000b2023 sw zero,0(s6)
80000324: 002b2223 sw sp,4(s6)
80000328: 003b2423 sw gp,8(s6)
8000032c: 004b2623 sw tp,12(s6)
80000330: 00001517 auipc a0,0x1
80000334: cf050513 addi a0,a0,-784 # 80001020 <codasip_signature_start>
80000338: 00001597 auipc a1,0x1
8000033c: d8858593 addi a1,a1,-632 # 800010c0 <_end>
80000340: f0100637 lui a2,0xf0100
80000344: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee6c>
80000348 <complience_halt_loop>:
80000348: 02b50663 beq a0,a1,80000374 <complience_halt_break>
8000034c: 00c52683 lw a3,12(a0)
80000350: 00d62023 sw a3,0(a2)
80000354: 00852683 lw a3,8(a0)
80000358: 00d62023 sw a3,0(a2)
8000035c: 00452683 lw a3,4(a0)
80000360: 00d62023 sw a3,0(a2)
80000364: 00052683 lw a3,0(a0)
80000368: 00d62023 sw a3,0(a2)
8000036c: 01050513 addi a0,a0,16
80000370: fd9ff06f j 80000348 <complience_halt_loop>
80000374 <complience_halt_break>:
80000374: f0100537 lui a0,0xf0100
80000378: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee60>
8000037c: 00052023 sw zero,0(a0)
80000380: 0000 unimp
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_C_data>:
...
80001020 <codasip_signature_start>:
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_A2_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058 <test_A3_res>:
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074 <test_A4_res>:
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac <test_B_res>:
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0 <test_C_res>:
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff

View file

@ -0,0 +1,357 @@
/home/spinalvm/hdl/riscv-compliance/work//I-BGE-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 01810113 addi sp,sp,24 # 80001020 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 00000213 li tp,0
80000018: 00100293 li t0,1
8000001c: fff00313 li t1,-1
80000020: 800003b7 lui t2,0x80000
80000024: fff38393 addi t2,t2,-1 # 7fffffff <_end+0xffffef3f>
80000028: 80000437 lui s0,0x80000
8000002c: 00000f93 li t6,0
80000030: 0041d463 ble tp,gp,80000038 <_start+0x38>
80000034: 001fef93 ori t6,t6,1
80000038: 0051d463 ble t0,gp,80000040 <_start+0x40>
8000003c: 002fef93 ori t6,t6,2
80000040: 0061d463 ble t1,gp,80000048 <_start+0x48>
80000044: 004fef93 ori t6,t6,4
80000048: 0071d463 ble t2,gp,80000050 <_start+0x50>
8000004c: 008fef93 ori t6,t6,8
80000050: 0081d463 ble s0,gp,80000058 <_start+0x58>
80000054: 010fef93 ori t6,t6,16
80000058: 00312023 sw gp,0(sp)
8000005c: 00412223 sw tp,4(sp)
80000060: 00512423 sw t0,8(sp)
80000064: 00612623 sw t1,12(sp)
80000068: 00712823 sw t2,16(sp)
8000006c: 00812a23 sw s0,20(sp)
80000070: 01f12c23 sw t6,24(sp)
80000074: 00001097 auipc ra,0x1
80000078: f9008093 addi ra,ra,-112 # 80001004 <test_A2_data>
8000007c: 00001117 auipc sp,0x1
80000080: fc010113 addi sp,sp,-64 # 8000103c <test_A2_res>
80000084: 0000a303 lw t1,0(ra)
80000088: 00000393 li t2,0
8000008c: 00100413 li s0,1
80000090: fff00493 li s1,-1
80000094: 80000537 lui a0,0x80000
80000098: fff50513 addi a0,a0,-1 # 7fffffff <_end+0xffffef3f>
8000009c: 800005b7 lui a1,0x80000
800000a0: 00000f93 li t6,0
800000a4: 00735463 ble t2,t1,800000ac <_start+0xac>
800000a8: 001fef93 ori t6,t6,1
800000ac: 00835463 ble s0,t1,800000b4 <_start+0xb4>
800000b0: 002fef93 ori t6,t6,2
800000b4: 00935463 ble s1,t1,800000bc <_start+0xbc>
800000b8: 004fef93 ori t6,t6,4
800000bc: 00a35463 ble a0,t1,800000c4 <_start+0xc4>
800000c0: 008fef93 ori t6,t6,8
800000c4: 00b35463 ble a1,t1,800000cc <_start+0xcc>
800000c8: 010fef93 ori t6,t6,16
800000cc: 00612023 sw t1,0(sp)
800000d0: 00712223 sw t2,4(sp)
800000d4: 00812423 sw s0,8(sp)
800000d8: 00912623 sw s1,12(sp)
800000dc: 00a12823 sw a0,16(sp)
800000e0: 00b12a23 sw a1,20(sp)
800000e4: 01f12c23 sw t6,24(sp)
800000e8: 00001097 auipc ra,0x1
800000ec: f2008093 addi ra,ra,-224 # 80001008 <test_A3_data>
800000f0: 00001117 auipc sp,0x1
800000f4: f6810113 addi sp,sp,-152 # 80001058 <test_A3_res>
800000f8: 0000a603 lw a2,0(ra)
800000fc: 00000693 li a3,0
80000100: 00100713 li a4,1
80000104: fff00793 li a5,-1
80000108: 80000837 lui a6,0x80000
8000010c: fff80813 addi a6,a6,-1 # 7fffffff <_end+0xffffef3f>
80000110: 800008b7 lui a7,0x80000
80000114: 00000f93 li t6,0
80000118: 00d65463 ble a3,a2,80000120 <_start+0x120>
8000011c: 001fef93 ori t6,t6,1
80000120: 00e65463 ble a4,a2,80000128 <_start+0x128>
80000124: 002fef93 ori t6,t6,2
80000128: 00f65463 ble a5,a2,80000130 <_start+0x130>
8000012c: 004fef93 ori t6,t6,4
80000130: 01065463 ble a6,a2,80000138 <_start+0x138>
80000134: 008fef93 ori t6,t6,8
80000138: 01165463 ble a7,a2,80000140 <_start+0x140>
8000013c: 010fef93 ori t6,t6,16
80000140: 00c12023 sw a2,0(sp)
80000144: 00d12223 sw a3,4(sp)
80000148: 00e12423 sw a4,8(sp)
8000014c: 00f12623 sw a5,12(sp)
80000150: 01012823 sw a6,16(sp)
80000154: 01112a23 sw a7,20(sp)
80000158: 01f12c23 sw t6,24(sp)
8000015c: 00001097 auipc ra,0x1
80000160: eb008093 addi ra,ra,-336 # 8000100c <test_A4_data>
80000164: 00001117 auipc sp,0x1
80000168: f1010113 addi sp,sp,-240 # 80001074 <test_A4_res>
8000016c: 0000a903 lw s2,0(ra)
80000170: 00000993 li s3,0
80000174: 00100a13 li s4,1
80000178: fff00a93 li s5,-1
8000017c: 80000b37 lui s6,0x80000
80000180: fffb0b13 addi s6,s6,-1 # 7fffffff <_end+0xffffef3f>
80000184: 80000bb7 lui s7,0x80000
80000188: 00000f93 li t6,0
8000018c: 01395463 ble s3,s2,80000194 <_start+0x194>
80000190: 001fef93 ori t6,t6,1
80000194: 01495463 ble s4,s2,8000019c <_start+0x19c>
80000198: 002fef93 ori t6,t6,2
8000019c: 01595463 ble s5,s2,800001a4 <_start+0x1a4>
800001a0: 004fef93 ori t6,t6,4
800001a4: 01695463 ble s6,s2,800001ac <_start+0x1ac>
800001a8: 008fef93 ori t6,t6,8
800001ac: 01795463 ble s7,s2,800001b4 <_start+0x1b4>
800001b0: 010fef93 ori t6,t6,16
800001b4: 01212023 sw s2,0(sp)
800001b8: 01312223 sw s3,4(sp)
800001bc: 01412423 sw s4,8(sp)
800001c0: 01512623 sw s5,12(sp)
800001c4: 01612823 sw s6,16(sp)
800001c8: 01712a23 sw s7,20(sp)
800001cc: 01f12c23 sw t6,24(sp)
800001d0: 00001097 auipc ra,0x1
800001d4: e4008093 addi ra,ra,-448 # 80001010 <test_A5_data>
800001d8: 00001117 auipc sp,0x1
800001dc: eb810113 addi sp,sp,-328 # 80001090 <test_A5_res>
800001e0: 0000ac03 lw s8,0(ra)
800001e4: 00000c93 li s9,0
800001e8: 00100d13 li s10,1
800001ec: fff00d93 li s11,-1
800001f0: 80000e37 lui t3,0x80000
800001f4: fffe0e13 addi t3,t3,-1 # 7fffffff <_end+0xffffef3f>
800001f8: 80000eb7 lui t4,0x80000
800001fc: 00000f93 li t6,0
80000200: 019c5463 ble s9,s8,80000208 <_start+0x208>
80000204: 001fef93 ori t6,t6,1
80000208: 01ac5463 ble s10,s8,80000210 <_start+0x210>
8000020c: 002fef93 ori t6,t6,2
80000210: 01bc5463 ble s11,s8,80000218 <_start+0x218>
80000214: 004fef93 ori t6,t6,4
80000218: 01cc5463 ble t3,s8,80000220 <_start+0x220>
8000021c: 008fef93 ori t6,t6,8
80000220: 01dc5463 ble t4,s8,80000228 <_start+0x228>
80000224: 010fef93 ori t6,t6,16
80000228: 01812023 sw s8,0(sp)
8000022c: 01912223 sw s9,4(sp)
80000230: 01a12423 sw s10,8(sp)
80000234: 01b12623 sw s11,12(sp)
80000238: 01c12823 sw t3,16(sp)
8000023c: 01d12a23 sw t4,20(sp)
80000240: 01f12c23 sw t6,24(sp)
80000244: 00001d97 auipc s11,0x1
80000248: e68d8d93 addi s11,s11,-408 # 800010ac <test_B_res>
8000024c: 00000093 li ra,0
80000250: 00100113 li sp,1
80000254: fff00193 li gp,-1
80000258: 80000237 lui tp,0x80000
8000025c: fff20213 addi tp,tp,-1 # 7fffffff <_end+0xffffef3f>
80000260: 800002b7 lui t0,0x80000
80000264: 00000f93 li t6,0
80000268: 0000d463 bgez ra,80000270 <_start+0x270>
8000026c: 001fef93 ori t6,t6,1
80000270: 00015463 bgez sp,80000278 <_start+0x278>
80000274: 002fef93 ori t6,t6,2
80000278: 0001d463 bgez gp,80000280 <_start+0x280>
8000027c: 004fef93 ori t6,t6,4
80000280: 00025463 bgez tp,80000288 <_start+0x288>
80000284: 008fef93 ori t6,t6,8
80000288: 0002d463 bgez t0,80000290 <_start+0x290>
8000028c: 010fef93 ori t6,t6,16
80000290: 00105463 blez ra,80000298 <_start+0x298>
80000294: 020fef93 ori t6,t6,32
80000298: 00205463 blez sp,800002a0 <_start+0x2a0>
8000029c: 040fef93 ori t6,t6,64
800002a0: 00305463 blez gp,800002a8 <_start+0x2a8>
800002a4: 080fef93 ori t6,t6,128
800002a8: 00405463 blez tp,800002b0 <_start+0x2b0>
800002ac: 100fef93 ori t6,t6,256
800002b0: 00505463 blez t0,800002b8 <_start+0x2b8>
800002b4: 200fef93 ori t6,t6,512
800002b8: 01fda023 sw t6,0(s11)
800002bc: 00001a97 auipc s5,0x1
800002c0: d58a8a93 addi s5,s5,-680 # 80001014 <test_C_data>
800002c4: 00001b17 auipc s6,0x1
800002c8: decb0b13 addi s6,s6,-532 # 800010b0 <test_C_res>
800002cc: 000aaf83 lw t6,0(s5)
800002d0: fff00113 li sp,-1
800002d4: fff00193 li gp,-1
800002d8: 0fedd237 lui tp,0xfedd
800002dc: ba920213 addi tp,tp,-1111 # fedcba9 <_start-0x70123457>
800002e0: 020fd463 bgez t6,80000308 <_start+0x308>
800002e4: 00000113 li sp,0
800002e8: 00000193 li gp,0
800002ec: 00000213 li tp,0
800002f0: 876541b7 lui gp,0x87654
800002f4: 32118193 addi gp,gp,801 # 87654321 <_end+0x7653261>
800002f8: 020fd463 bgez t6,80000320 <_start+0x320>
800002fc: 00000113 li sp,0
80000300: 00000193 li gp,0
80000304: 00000213 li tp,0
80000308: 9abce137 lui sp,0x9abce
8000030c: ef010113 addi sp,sp,-272 # 9abcdef0 <_end+0x1abcce30>
80000310: fe0fd0e3 bgez t6,800002f0 <_start+0x2f0>
80000314: 00000113 li sp,0
80000318: 00000193 li gp,0
8000031c: 00000213 li tp,0
80000320: 000b2023 sw zero,0(s6)
80000324: 002b2223 sw sp,4(s6)
80000328: 003b2423 sw gp,8(s6)
8000032c: 004b2623 sw tp,12(s6)
80000330: 00001517 auipc a0,0x1
80000334: cf050513 addi a0,a0,-784 # 80001020 <codasip_signature_start>
80000338: 00001597 auipc a1,0x1
8000033c: d8858593 addi a1,a1,-632 # 800010c0 <_end>
80000340: f0100637 lui a2,0xf0100
80000344: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee6c>
80000348 <complience_halt_loop>:
80000348: 02b50663 beq a0,a1,80000374 <complience_halt_break>
8000034c: 00c52683 lw a3,12(a0)
80000350: 00d62023 sw a3,0(a2)
80000354: 00852683 lw a3,8(a0)
80000358: 00d62023 sw a3,0(a2)
8000035c: 00452683 lw a3,4(a0)
80000360: 00d62023 sw a3,0(a2)
80000364: 00052683 lw a3,0(a0)
80000368: 00d62023 sw a3,0(a2)
8000036c: 01050513 addi a0,a0,16
80000370: fd9ff06f j 80000348 <complience_halt_loop>
80000374 <complience_halt_break>:
80000374: f0100537 lui a0,0xf0100
80000378: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee60>
8000037c: 00052023 sw zero,0(a0)
80000380: 0000 unimp
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_C_data>:
80001014: 0001 nop
...
80001020 <codasip_signature_start>:
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_A2_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058 <test_A3_res>:
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074 <test_A4_res>:
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac <test_B_res>:
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0 <test_C_res>:
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff

View file

@ -0,0 +1,357 @@
/home/spinalvm/hdl/riscv-compliance/work//I-BGEU-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 01810113 addi sp,sp,24 # 80001020 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 00000213 li tp,0
80000018: 00100293 li t0,1
8000001c: fff00313 li t1,-1
80000020: 800003b7 lui t2,0x80000
80000024: fff38393 addi t2,t2,-1 # 7fffffff <_end+0xffffef3f>
80000028: 80000437 lui s0,0x80000
8000002c: 00000f93 li t6,0
80000030: 0041f463 bleu tp,gp,80000038 <_start+0x38>
80000034: 001fef93 ori t6,t6,1
80000038: 0051f463 bleu t0,gp,80000040 <_start+0x40>
8000003c: 002fef93 ori t6,t6,2
80000040: 0061f463 bleu t1,gp,80000048 <_start+0x48>
80000044: 004fef93 ori t6,t6,4
80000048: 0071f463 bleu t2,gp,80000050 <_start+0x50>
8000004c: 008fef93 ori t6,t6,8
80000050: 0081f463 bleu s0,gp,80000058 <_start+0x58>
80000054: 010fef93 ori t6,t6,16
80000058: 00312023 sw gp,0(sp)
8000005c: 00412223 sw tp,4(sp)
80000060: 00512423 sw t0,8(sp)
80000064: 00612623 sw t1,12(sp)
80000068: 00712823 sw t2,16(sp)
8000006c: 00812a23 sw s0,20(sp)
80000070: 01f12c23 sw t6,24(sp)
80000074: 00001097 auipc ra,0x1
80000078: f9008093 addi ra,ra,-112 # 80001004 <test_A2_data>
8000007c: 00001117 auipc sp,0x1
80000080: fc010113 addi sp,sp,-64 # 8000103c <test_A2_res>
80000084: 0000a303 lw t1,0(ra)
80000088: 00000393 li t2,0
8000008c: 00100413 li s0,1
80000090: fff00493 li s1,-1
80000094: 80000537 lui a0,0x80000
80000098: fff50513 addi a0,a0,-1 # 7fffffff <_end+0xffffef3f>
8000009c: 800005b7 lui a1,0x80000
800000a0: 00000f93 li t6,0
800000a4: 00737463 bleu t2,t1,800000ac <_start+0xac>
800000a8: 001fef93 ori t6,t6,1
800000ac: 00837463 bleu s0,t1,800000b4 <_start+0xb4>
800000b0: 002fef93 ori t6,t6,2
800000b4: 00937463 bleu s1,t1,800000bc <_start+0xbc>
800000b8: 004fef93 ori t6,t6,4
800000bc: 00a37463 bleu a0,t1,800000c4 <_start+0xc4>
800000c0: 008fef93 ori t6,t6,8
800000c4: 00b37463 bleu a1,t1,800000cc <_start+0xcc>
800000c8: 010fef93 ori t6,t6,16
800000cc: 00612023 sw t1,0(sp)
800000d0: 00712223 sw t2,4(sp)
800000d4: 00812423 sw s0,8(sp)
800000d8: 00912623 sw s1,12(sp)
800000dc: 00a12823 sw a0,16(sp)
800000e0: 00b12a23 sw a1,20(sp)
800000e4: 01f12c23 sw t6,24(sp)
800000e8: 00001097 auipc ra,0x1
800000ec: f2008093 addi ra,ra,-224 # 80001008 <test_A3_data>
800000f0: 00001117 auipc sp,0x1
800000f4: f6810113 addi sp,sp,-152 # 80001058 <test_A3_res>
800000f8: 0000a603 lw a2,0(ra)
800000fc: 00000693 li a3,0
80000100: 00100713 li a4,1
80000104: fff00793 li a5,-1
80000108: 80000837 lui a6,0x80000
8000010c: fff80813 addi a6,a6,-1 # 7fffffff <_end+0xffffef3f>
80000110: 800008b7 lui a7,0x80000
80000114: 00000f93 li t6,0
80000118: 00d67463 bleu a3,a2,80000120 <_start+0x120>
8000011c: 001fef93 ori t6,t6,1
80000120: 00e67463 bleu a4,a2,80000128 <_start+0x128>
80000124: 002fef93 ori t6,t6,2
80000128: 00f67463 bleu a5,a2,80000130 <_start+0x130>
8000012c: 004fef93 ori t6,t6,4
80000130: 01067463 bleu a6,a2,80000138 <_start+0x138>
80000134: 008fef93 ori t6,t6,8
80000138: 01167463 bleu a7,a2,80000140 <_start+0x140>
8000013c: 010fef93 ori t6,t6,16
80000140: 00c12023 sw a2,0(sp)
80000144: 00d12223 sw a3,4(sp)
80000148: 00e12423 sw a4,8(sp)
8000014c: 00f12623 sw a5,12(sp)
80000150: 01012823 sw a6,16(sp)
80000154: 01112a23 sw a7,20(sp)
80000158: 01f12c23 sw t6,24(sp)
8000015c: 00001097 auipc ra,0x1
80000160: eb008093 addi ra,ra,-336 # 8000100c <test_A4_data>
80000164: 00001117 auipc sp,0x1
80000168: f1010113 addi sp,sp,-240 # 80001074 <test_A4_res>
8000016c: 0000a903 lw s2,0(ra)
80000170: 00000993 li s3,0
80000174: 00100a13 li s4,1
80000178: fff00a93 li s5,-1
8000017c: 80000b37 lui s6,0x80000
80000180: fffb0b13 addi s6,s6,-1 # 7fffffff <_end+0xffffef3f>
80000184: 80000bb7 lui s7,0x80000
80000188: 00000f93 li t6,0
8000018c: 01397463 bleu s3,s2,80000194 <_start+0x194>
80000190: 001fef93 ori t6,t6,1
80000194: 01497463 bleu s4,s2,8000019c <_start+0x19c>
80000198: 002fef93 ori t6,t6,2
8000019c: 01597463 bleu s5,s2,800001a4 <_start+0x1a4>
800001a0: 004fef93 ori t6,t6,4
800001a4: 01697463 bleu s6,s2,800001ac <_start+0x1ac>
800001a8: 008fef93 ori t6,t6,8
800001ac: 01797463 bleu s7,s2,800001b4 <_start+0x1b4>
800001b0: 010fef93 ori t6,t6,16
800001b4: 01212023 sw s2,0(sp)
800001b8: 01312223 sw s3,4(sp)
800001bc: 01412423 sw s4,8(sp)
800001c0: 01512623 sw s5,12(sp)
800001c4: 01612823 sw s6,16(sp)
800001c8: 01712a23 sw s7,20(sp)
800001cc: 01f12c23 sw t6,24(sp)
800001d0: 00001097 auipc ra,0x1
800001d4: e4008093 addi ra,ra,-448 # 80001010 <test_A5_data>
800001d8: 00001117 auipc sp,0x1
800001dc: eb810113 addi sp,sp,-328 # 80001090 <test_A5_res>
800001e0: 0000ac03 lw s8,0(ra)
800001e4: 00000c93 li s9,0
800001e8: 00100d13 li s10,1
800001ec: fff00d93 li s11,-1
800001f0: 80000e37 lui t3,0x80000
800001f4: fffe0e13 addi t3,t3,-1 # 7fffffff <_end+0xffffef3f>
800001f8: 80000eb7 lui t4,0x80000
800001fc: 00000f93 li t6,0
80000200: 019c7463 bleu s9,s8,80000208 <_start+0x208>
80000204: 001fef93 ori t6,t6,1
80000208: 01ac7463 bleu s10,s8,80000210 <_start+0x210>
8000020c: 002fef93 ori t6,t6,2
80000210: 01bc7463 bleu s11,s8,80000218 <_start+0x218>
80000214: 004fef93 ori t6,t6,4
80000218: 01cc7463 bleu t3,s8,80000220 <_start+0x220>
8000021c: 008fef93 ori t6,t6,8
80000220: 01dc7463 bleu t4,s8,80000228 <_start+0x228>
80000224: 010fef93 ori t6,t6,16
80000228: 01812023 sw s8,0(sp)
8000022c: 01912223 sw s9,4(sp)
80000230: 01a12423 sw s10,8(sp)
80000234: 01b12623 sw s11,12(sp)
80000238: 01c12823 sw t3,16(sp)
8000023c: 01d12a23 sw t4,20(sp)
80000240: 01f12c23 sw t6,24(sp)
80000244: 00001d97 auipc s11,0x1
80000248: e68d8d93 addi s11,s11,-408 # 800010ac <test_B_res>
8000024c: 00000093 li ra,0
80000250: 00100113 li sp,1
80000254: fff00193 li gp,-1
80000258: 80000237 lui tp,0x80000
8000025c: fff20213 addi tp,tp,-1 # 7fffffff <_end+0xffffef3f>
80000260: 800002b7 lui t0,0x80000
80000264: 00000f93 li t6,0
80000268: 0000f463 bleu zero,ra,80000270 <_start+0x270>
8000026c: 001fef93 ori t6,t6,1
80000270: 00017463 bleu zero,sp,80000278 <_start+0x278>
80000274: 002fef93 ori t6,t6,2
80000278: 0001f463 bleu zero,gp,80000280 <_start+0x280>
8000027c: 004fef93 ori t6,t6,4
80000280: 00027463 bleu zero,tp,80000288 <_start+0x288>
80000284: 008fef93 ori t6,t6,8
80000288: 0002f463 bleu zero,t0,80000290 <_start+0x290>
8000028c: 010fef93 ori t6,t6,16
80000290: 00107463 bleu ra,zero,80000298 <_start+0x298>
80000294: 020fef93 ori t6,t6,32
80000298: 00207463 bleu sp,zero,800002a0 <_start+0x2a0>
8000029c: 040fef93 ori t6,t6,64
800002a0: 00307463 bleu gp,zero,800002a8 <_start+0x2a8>
800002a4: 080fef93 ori t6,t6,128
800002a8: 00407463 bleu tp,zero,800002b0 <_start+0x2b0>
800002ac: 100fef93 ori t6,t6,256
800002b0: 00507463 bleu t0,zero,800002b8 <_start+0x2b8>
800002b4: 200fef93 ori t6,t6,512
800002b8: 01fda023 sw t6,0(s11)
800002bc: 00001a97 auipc s5,0x1
800002c0: d58a8a93 addi s5,s5,-680 # 80001014 <test_C_data>
800002c4: 00001b17 auipc s6,0x1
800002c8: decb0b13 addi s6,s6,-532 # 800010b0 <test_C_res>
800002cc: 000aaf83 lw t6,0(s5)
800002d0: fff00113 li sp,-1
800002d4: fff00193 li gp,-1
800002d8: 0fedd237 lui tp,0xfedd
800002dc: ba920213 addi tp,tp,-1111 # fedcba9 <_start-0x70123457>
800002e0: 020ff463 bleu zero,t6,80000308 <_start+0x308>
800002e4: 00000113 li sp,0
800002e8: 00000193 li gp,0
800002ec: 00000213 li tp,0
800002f0: 876541b7 lui gp,0x87654
800002f4: 32118193 addi gp,gp,801 # 87654321 <_end+0x7653261>
800002f8: 020ff463 bleu zero,t6,80000320 <_start+0x320>
800002fc: 00000113 li sp,0
80000300: 00000193 li gp,0
80000304: 00000213 li tp,0
80000308: 9abce137 lui sp,0x9abce
8000030c: ef010113 addi sp,sp,-272 # 9abcdef0 <_end+0x1abcce30>
80000310: fe0ff0e3 bleu zero,t6,800002f0 <_start+0x2f0>
80000314: 00000113 li sp,0
80000318: 00000193 li gp,0
8000031c: 00000213 li tp,0
80000320: 000b2023 sw zero,0(s6)
80000324: 002b2223 sw sp,4(s6)
80000328: 003b2423 sw gp,8(s6)
8000032c: 004b2623 sw tp,12(s6)
80000330: 00001517 auipc a0,0x1
80000334: cf050513 addi a0,a0,-784 # 80001020 <codasip_signature_start>
80000338: 00001597 auipc a1,0x1
8000033c: d8858593 addi a1,a1,-632 # 800010c0 <_end>
80000340: f0100637 lui a2,0xf0100
80000344: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee6c>
80000348 <complience_halt_loop>:
80000348: 02b50663 beq a0,a1,80000374 <complience_halt_break>
8000034c: 00c52683 lw a3,12(a0)
80000350: 00d62023 sw a3,0(a2)
80000354: 00852683 lw a3,8(a0)
80000358: 00d62023 sw a3,0(a2)
8000035c: 00452683 lw a3,4(a0)
80000360: 00d62023 sw a3,0(a2)
80000364: 00052683 lw a3,0(a0)
80000368: 00d62023 sw a3,0(a2)
8000036c: 01050513 addi a0,a0,16
80000370: fd9ff06f j 80000348 <complience_halt_loop>
80000374 <complience_halt_break>:
80000374: f0100537 lui a0,0xf0100
80000378: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee60>
8000037c: 00052023 sw zero,0(a0)
80000380: 0000 unimp
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_C_data>:
80001014: 0001 nop
...
80001020 <codasip_signature_start>:
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_A2_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058 <test_A3_res>:
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074 <test_A4_res>:
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac <test_B_res>:
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0 <test_C_res>:
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff

View file

@ -0,0 +1,358 @@
/home/spinalvm/hdl/riscv-compliance/work//I-BLT-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 01810113 addi sp,sp,24 # 80001020 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 00000213 li tp,0
80000018: 00100293 li t0,1
8000001c: fff00313 li t1,-1
80000020: 800003b7 lui t2,0x80000
80000024: fff38393 addi t2,t2,-1 # 7fffffff <_end+0xffffef3f>
80000028: 80000437 lui s0,0x80000
8000002c: 00000f93 li t6,0
80000030: 0041c463 blt gp,tp,80000038 <_start+0x38>
80000034: 001fef93 ori t6,t6,1
80000038: 0051c463 blt gp,t0,80000040 <_start+0x40>
8000003c: 002fef93 ori t6,t6,2
80000040: 0061c463 blt gp,t1,80000048 <_start+0x48>
80000044: 004fef93 ori t6,t6,4
80000048: 0071c463 blt gp,t2,80000050 <_start+0x50>
8000004c: 008fef93 ori t6,t6,8
80000050: 0081c463 blt gp,s0,80000058 <_start+0x58>
80000054: 010fef93 ori t6,t6,16
80000058: 00312023 sw gp,0(sp)
8000005c: 00412223 sw tp,4(sp)
80000060: 00512423 sw t0,8(sp)
80000064: 00612623 sw t1,12(sp)
80000068: 00712823 sw t2,16(sp)
8000006c: 00812a23 sw s0,20(sp)
80000070: 01f12c23 sw t6,24(sp)
80000074: 00001097 auipc ra,0x1
80000078: f9008093 addi ra,ra,-112 # 80001004 <test_A2_data>
8000007c: 00001117 auipc sp,0x1
80000080: fc010113 addi sp,sp,-64 # 8000103c <test_A2_res>
80000084: 0000a303 lw t1,0(ra)
80000088: 00000393 li t2,0
8000008c: 00100413 li s0,1
80000090: fff00493 li s1,-1
80000094: 80000537 lui a0,0x80000
80000098: fff50513 addi a0,a0,-1 # 7fffffff <_end+0xffffef3f>
8000009c: 800005b7 lui a1,0x80000
800000a0: 00000f93 li t6,0
800000a4: 00734463 blt t1,t2,800000ac <_start+0xac>
800000a8: 001fef93 ori t6,t6,1
800000ac: 00834463 blt t1,s0,800000b4 <_start+0xb4>
800000b0: 002fef93 ori t6,t6,2
800000b4: 00934463 blt t1,s1,800000bc <_start+0xbc>
800000b8: 004fef93 ori t6,t6,4
800000bc: 00a34463 blt t1,a0,800000c4 <_start+0xc4>
800000c0: 008fef93 ori t6,t6,8
800000c4: 00b34463 blt t1,a1,800000cc <_start+0xcc>
800000c8: 010fef93 ori t6,t6,16
800000cc: 00612023 sw t1,0(sp)
800000d0: 00712223 sw t2,4(sp)
800000d4: 00812423 sw s0,8(sp)
800000d8: 00912623 sw s1,12(sp)
800000dc: 00a12823 sw a0,16(sp)
800000e0: 00b12a23 sw a1,20(sp)
800000e4: 01f12c23 sw t6,24(sp)
800000e8: 00001097 auipc ra,0x1
800000ec: f2008093 addi ra,ra,-224 # 80001008 <test_A3_data>
800000f0: 00001117 auipc sp,0x1
800000f4: f6810113 addi sp,sp,-152 # 80001058 <test_A3_res>
800000f8: 0000a603 lw a2,0(ra)
800000fc: 00000693 li a3,0
80000100: 00100713 li a4,1
80000104: fff00793 li a5,-1
80000108: 80000837 lui a6,0x80000
8000010c: fff80813 addi a6,a6,-1 # 7fffffff <_end+0xffffef3f>
80000110: 800008b7 lui a7,0x80000
80000114: 00000f93 li t6,0
80000118: 00d64463 blt a2,a3,80000120 <_start+0x120>
8000011c: 001fef93 ori t6,t6,1
80000120: 00e64463 blt a2,a4,80000128 <_start+0x128>
80000124: 002fef93 ori t6,t6,2
80000128: 00f64463 blt a2,a5,80000130 <_start+0x130>
8000012c: 004fef93 ori t6,t6,4
80000130: 01064463 blt a2,a6,80000138 <_start+0x138>
80000134: 008fef93 ori t6,t6,8
80000138: 01164463 blt a2,a7,80000140 <_start+0x140>
8000013c: 010fef93 ori t6,t6,16
80000140: 00c12023 sw a2,0(sp)
80000144: 00d12223 sw a3,4(sp)
80000148: 00e12423 sw a4,8(sp)
8000014c: 00f12623 sw a5,12(sp)
80000150: 01012823 sw a6,16(sp)
80000154: 01112a23 sw a7,20(sp)
80000158: 01f12c23 sw t6,24(sp)
8000015c: 00001097 auipc ra,0x1
80000160: eb008093 addi ra,ra,-336 # 8000100c <test_A4_data>
80000164: 00001117 auipc sp,0x1
80000168: f1010113 addi sp,sp,-240 # 80001074 <test_A4_res>
8000016c: 0000a903 lw s2,0(ra)
80000170: 00000993 li s3,0
80000174: 00100a13 li s4,1
80000178: fff00a93 li s5,-1
8000017c: 80000b37 lui s6,0x80000
80000180: fffb0b13 addi s6,s6,-1 # 7fffffff <_end+0xffffef3f>
80000184: 80000bb7 lui s7,0x80000
80000188: 00000f93 li t6,0
8000018c: 01394463 blt s2,s3,80000194 <_start+0x194>
80000190: 001fef93 ori t6,t6,1
80000194: 01494463 blt s2,s4,8000019c <_start+0x19c>
80000198: 002fef93 ori t6,t6,2
8000019c: 01594463 blt s2,s5,800001a4 <_start+0x1a4>
800001a0: 004fef93 ori t6,t6,4
800001a4: 01694463 blt s2,s6,800001ac <_start+0x1ac>
800001a8: 008fef93 ori t6,t6,8
800001ac: 01794463 blt s2,s7,800001b4 <_start+0x1b4>
800001b0: 010fef93 ori t6,t6,16
800001b4: 01212023 sw s2,0(sp)
800001b8: 01312223 sw s3,4(sp)
800001bc: 01412423 sw s4,8(sp)
800001c0: 01512623 sw s5,12(sp)
800001c4: 01612823 sw s6,16(sp)
800001c8: 01712a23 sw s7,20(sp)
800001cc: 01f12c23 sw t6,24(sp)
800001d0: 00001097 auipc ra,0x1
800001d4: e4008093 addi ra,ra,-448 # 80001010 <test_A5_data>
800001d8: 00001117 auipc sp,0x1
800001dc: eb810113 addi sp,sp,-328 # 80001090 <test_A5_res>
800001e0: 0000ac03 lw s8,0(ra)
800001e4: 00000c93 li s9,0
800001e8: 00100d13 li s10,1
800001ec: fff00d93 li s11,-1
800001f0: 80000e37 lui t3,0x80000
800001f4: fffe0e13 addi t3,t3,-1 # 7fffffff <_end+0xffffef3f>
800001f8: 80000eb7 lui t4,0x80000
800001fc: 00000f93 li t6,0
80000200: 019c4463 blt s8,s9,80000208 <_start+0x208>
80000204: 001fef93 ori t6,t6,1
80000208: 01ac4463 blt s8,s10,80000210 <_start+0x210>
8000020c: 002fef93 ori t6,t6,2
80000210: 01bc4463 blt s8,s11,80000218 <_start+0x218>
80000214: 004fef93 ori t6,t6,4
80000218: 01cc4463 blt s8,t3,80000220 <_start+0x220>
8000021c: 008fef93 ori t6,t6,8
80000220: 01dc4463 blt s8,t4,80000228 <_start+0x228>
80000224: 010fef93 ori t6,t6,16
80000228: 01812023 sw s8,0(sp)
8000022c: 01912223 sw s9,4(sp)
80000230: 01a12423 sw s10,8(sp)
80000234: 01b12623 sw s11,12(sp)
80000238: 01c12823 sw t3,16(sp)
8000023c: 01d12a23 sw t4,20(sp)
80000240: 01f12c23 sw t6,24(sp)
80000244: 00001d97 auipc s11,0x1
80000248: e68d8d93 addi s11,s11,-408 # 800010ac <test_B_res>
8000024c: 00000093 li ra,0
80000250: 00100113 li sp,1
80000254: fff00193 li gp,-1
80000258: 80000237 lui tp,0x80000
8000025c: fff20213 addi tp,tp,-1 # 7fffffff <_end+0xffffef3f>
80000260: 800002b7 lui t0,0x80000
80000264: 00000f93 li t6,0
80000268: 0000c463 bltz ra,80000270 <_start+0x270>
8000026c: 001fef93 ori t6,t6,1
80000270: 00014463 bltz sp,80000278 <_start+0x278>
80000274: 002fef93 ori t6,t6,2
80000278: 0001c463 bltz gp,80000280 <_start+0x280>
8000027c: 004fef93 ori t6,t6,4
80000280: 00024463 bltz tp,80000288 <_start+0x288>
80000284: 008fef93 ori t6,t6,8
80000288: 0002c463 bltz t0,80000290 <_start+0x290>
8000028c: 010fef93 ori t6,t6,16
80000290: 00104463 bgtz ra,80000298 <_start+0x298>
80000294: 020fef93 ori t6,t6,32
80000298: 00204463 bgtz sp,800002a0 <_start+0x2a0>
8000029c: 040fef93 ori t6,t6,64
800002a0: 00304463 bgtz gp,800002a8 <_start+0x2a8>
800002a4: 080fef93 ori t6,t6,128
800002a8: 00404463 bgtz tp,800002b0 <_start+0x2b0>
800002ac: 100fef93 ori t6,t6,256
800002b0: 00504463 bgtz t0,800002b8 <_start+0x2b8>
800002b4: 200fef93 ori t6,t6,512
800002b8: 01fda023 sw t6,0(s11)
800002bc: 00001a97 auipc s5,0x1
800002c0: d58a8a93 addi s5,s5,-680 # 80001014 <test_C_data>
800002c4: 00001b17 auipc s6,0x1
800002c8: decb0b13 addi s6,s6,-532 # 800010b0 <test_C_res>
800002cc: 000aaf83 lw t6,0(s5)
800002d0: fff00113 li sp,-1
800002d4: fff00193 li gp,-1
800002d8: 0fedd237 lui tp,0xfedd
800002dc: ba920213 addi tp,tp,-1111 # fedcba9 <_start-0x70123457>
800002e0: 020fc463 bltz t6,80000308 <_start+0x308>
800002e4: 00000113 li sp,0
800002e8: 00000193 li gp,0
800002ec: 00000213 li tp,0
800002f0: 876541b7 lui gp,0x87654
800002f4: 32118193 addi gp,gp,801 # 87654321 <_end+0x7653261>
800002f8: 020fc463 bltz t6,80000320 <_start+0x320>
800002fc: 00000113 li sp,0
80000300: 00000193 li gp,0
80000304: 00000213 li tp,0
80000308: 9abce137 lui sp,0x9abce
8000030c: ef010113 addi sp,sp,-272 # 9abcdef0 <_end+0x1abcce30>
80000310: fe0fc0e3 bltz t6,800002f0 <_start+0x2f0>
80000314: 00000113 li sp,0
80000318: 00000193 li gp,0
8000031c: 00000213 li tp,0
80000320: 000b2023 sw zero,0(s6)
80000324: 002b2223 sw sp,4(s6)
80000328: 003b2423 sw gp,8(s6)
8000032c: 004b2623 sw tp,12(s6)
80000330: 00001517 auipc a0,0x1
80000334: cf050513 addi a0,a0,-784 # 80001020 <codasip_signature_start>
80000338: 00001597 auipc a1,0x1
8000033c: d8858593 addi a1,a1,-632 # 800010c0 <_end>
80000340: f0100637 lui a2,0xf0100
80000344: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee6c>
80000348 <complience_halt_loop>:
80000348: 02b50663 beq a0,a1,80000374 <complience_halt_break>
8000034c: 00c52683 lw a3,12(a0)
80000350: 00d62023 sw a3,0(a2)
80000354: 00852683 lw a3,8(a0)
80000358: 00d62023 sw a3,0(a2)
8000035c: 00452683 lw a3,4(a0)
80000360: 00d62023 sw a3,0(a2)
80000364: 00052683 lw a3,0(a0)
80000368: 00d62023 sw a3,0(a2)
8000036c: 01050513 addi a0,a0,16
80000370: fd9ff06f j 80000348 <complience_halt_loop>
80000374 <complience_halt_break>:
80000374: f0100537 lui a0,0xf0100
80000378: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee60>
8000037c: 00052023 sw zero,0(a0)
80000380: 0000 unimp
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_C_data>:
80001014: ffff 0xffff
80001016: ffff 0xffff
...
80001020 <codasip_signature_start>:
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_A2_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058 <test_A3_res>:
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074 <test_A4_res>:
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac <test_B_res>:
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0 <test_C_res>:
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff

View file

@ -0,0 +1,357 @@
/home/spinalvm/hdl/riscv-compliance/work//I-BLTU-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 01810113 addi sp,sp,24 # 80001020 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 00000213 li tp,0
80000018: 00100293 li t0,1
8000001c: fff00313 li t1,-1
80000020: 800003b7 lui t2,0x80000
80000024: fff38393 addi t2,t2,-1 # 7fffffff <_end+0xffffef3f>
80000028: 80000437 lui s0,0x80000
8000002c: 00000f93 li t6,0
80000030: 0041e463 bltu gp,tp,80000038 <_start+0x38>
80000034: 001fef93 ori t6,t6,1
80000038: 0051e463 bltu gp,t0,80000040 <_start+0x40>
8000003c: 002fef93 ori t6,t6,2
80000040: 0061e463 bltu gp,t1,80000048 <_start+0x48>
80000044: 004fef93 ori t6,t6,4
80000048: 0071e463 bltu gp,t2,80000050 <_start+0x50>
8000004c: 008fef93 ori t6,t6,8
80000050: 0081e463 bltu gp,s0,80000058 <_start+0x58>
80000054: 010fef93 ori t6,t6,16
80000058: 00312023 sw gp,0(sp)
8000005c: 00412223 sw tp,4(sp)
80000060: 00512423 sw t0,8(sp)
80000064: 00612623 sw t1,12(sp)
80000068: 00712823 sw t2,16(sp)
8000006c: 00812a23 sw s0,20(sp)
80000070: 01f12c23 sw t6,24(sp)
80000074: 00001097 auipc ra,0x1
80000078: f9008093 addi ra,ra,-112 # 80001004 <test_A2_data>
8000007c: 00001117 auipc sp,0x1
80000080: fc010113 addi sp,sp,-64 # 8000103c <test_A2_res>
80000084: 0000a303 lw t1,0(ra)
80000088: 00000393 li t2,0
8000008c: 00100413 li s0,1
80000090: fff00493 li s1,-1
80000094: 80000537 lui a0,0x80000
80000098: fff50513 addi a0,a0,-1 # 7fffffff <_end+0xffffef3f>
8000009c: 800005b7 lui a1,0x80000
800000a0: 00000f93 li t6,0
800000a4: 00736463 bltu t1,t2,800000ac <_start+0xac>
800000a8: 001fef93 ori t6,t6,1
800000ac: 00836463 bltu t1,s0,800000b4 <_start+0xb4>
800000b0: 002fef93 ori t6,t6,2
800000b4: 00936463 bltu t1,s1,800000bc <_start+0xbc>
800000b8: 004fef93 ori t6,t6,4
800000bc: 00a36463 bltu t1,a0,800000c4 <_start+0xc4>
800000c0: 008fef93 ori t6,t6,8
800000c4: 00b36463 bltu t1,a1,800000cc <_start+0xcc>
800000c8: 010fef93 ori t6,t6,16
800000cc: 00612023 sw t1,0(sp)
800000d0: 00712223 sw t2,4(sp)
800000d4: 00812423 sw s0,8(sp)
800000d8: 00912623 sw s1,12(sp)
800000dc: 00a12823 sw a0,16(sp)
800000e0: 00b12a23 sw a1,20(sp)
800000e4: 01f12c23 sw t6,24(sp)
800000e8: 00001097 auipc ra,0x1
800000ec: f2008093 addi ra,ra,-224 # 80001008 <test_A3_data>
800000f0: 00001117 auipc sp,0x1
800000f4: f6810113 addi sp,sp,-152 # 80001058 <test_A3_res>
800000f8: 0000a603 lw a2,0(ra)
800000fc: 00000693 li a3,0
80000100: 00100713 li a4,1
80000104: fff00793 li a5,-1
80000108: 80000837 lui a6,0x80000
8000010c: fff80813 addi a6,a6,-1 # 7fffffff <_end+0xffffef3f>
80000110: 800008b7 lui a7,0x80000
80000114: 00000f93 li t6,0
80000118: 00d66463 bltu a2,a3,80000120 <_start+0x120>
8000011c: 001fef93 ori t6,t6,1
80000120: 00e66463 bltu a2,a4,80000128 <_start+0x128>
80000124: 002fef93 ori t6,t6,2
80000128: 00f66463 bltu a2,a5,80000130 <_start+0x130>
8000012c: 004fef93 ori t6,t6,4
80000130: 01066463 bltu a2,a6,80000138 <_start+0x138>
80000134: 008fef93 ori t6,t6,8
80000138: 01166463 bltu a2,a7,80000140 <_start+0x140>
8000013c: 010fef93 ori t6,t6,16
80000140: 00c12023 sw a2,0(sp)
80000144: 00d12223 sw a3,4(sp)
80000148: 00e12423 sw a4,8(sp)
8000014c: 00f12623 sw a5,12(sp)
80000150: 01012823 sw a6,16(sp)
80000154: 01112a23 sw a7,20(sp)
80000158: 01f12c23 sw t6,24(sp)
8000015c: 00001097 auipc ra,0x1
80000160: eb008093 addi ra,ra,-336 # 8000100c <test_A4_data>
80000164: 00001117 auipc sp,0x1
80000168: f1010113 addi sp,sp,-240 # 80001074 <test_A4_res>
8000016c: 0000a903 lw s2,0(ra)
80000170: 00000993 li s3,0
80000174: 00100a13 li s4,1
80000178: fff00a93 li s5,-1
8000017c: 80000b37 lui s6,0x80000
80000180: fffb0b13 addi s6,s6,-1 # 7fffffff <_end+0xffffef3f>
80000184: 80000bb7 lui s7,0x80000
80000188: 00000f93 li t6,0
8000018c: 01396463 bltu s2,s3,80000194 <_start+0x194>
80000190: 001fef93 ori t6,t6,1
80000194: 01496463 bltu s2,s4,8000019c <_start+0x19c>
80000198: 002fef93 ori t6,t6,2
8000019c: 01596463 bltu s2,s5,800001a4 <_start+0x1a4>
800001a0: 004fef93 ori t6,t6,4
800001a4: 01696463 bltu s2,s6,800001ac <_start+0x1ac>
800001a8: 008fef93 ori t6,t6,8
800001ac: 01796463 bltu s2,s7,800001b4 <_start+0x1b4>
800001b0: 010fef93 ori t6,t6,16
800001b4: 01212023 sw s2,0(sp)
800001b8: 01312223 sw s3,4(sp)
800001bc: 01412423 sw s4,8(sp)
800001c0: 01512623 sw s5,12(sp)
800001c4: 01612823 sw s6,16(sp)
800001c8: 01712a23 sw s7,20(sp)
800001cc: 01f12c23 sw t6,24(sp)
800001d0: 00001097 auipc ra,0x1
800001d4: e4008093 addi ra,ra,-448 # 80001010 <test_A5_data>
800001d8: 00001117 auipc sp,0x1
800001dc: eb810113 addi sp,sp,-328 # 80001090 <test_A5_res>
800001e0: 0000ac03 lw s8,0(ra)
800001e4: 00000c93 li s9,0
800001e8: 00100d13 li s10,1
800001ec: fff00d93 li s11,-1
800001f0: 80000e37 lui t3,0x80000
800001f4: fffe0e13 addi t3,t3,-1 # 7fffffff <_end+0xffffef3f>
800001f8: 80000eb7 lui t4,0x80000
800001fc: 00000f93 li t6,0
80000200: 019c6463 bltu s8,s9,80000208 <_start+0x208>
80000204: 001fef93 ori t6,t6,1
80000208: 01ac6463 bltu s8,s10,80000210 <_start+0x210>
8000020c: 002fef93 ori t6,t6,2
80000210: 01bc6463 bltu s8,s11,80000218 <_start+0x218>
80000214: 004fef93 ori t6,t6,4
80000218: 01cc6463 bltu s8,t3,80000220 <_start+0x220>
8000021c: 008fef93 ori t6,t6,8
80000220: 01dc6463 bltu s8,t4,80000228 <_start+0x228>
80000224: 010fef93 ori t6,t6,16
80000228: 01812023 sw s8,0(sp)
8000022c: 01912223 sw s9,4(sp)
80000230: 01a12423 sw s10,8(sp)
80000234: 01b12623 sw s11,12(sp)
80000238: 01c12823 sw t3,16(sp)
8000023c: 01d12a23 sw t4,20(sp)
80000240: 01f12c23 sw t6,24(sp)
80000244: 00001d97 auipc s11,0x1
80000248: e68d8d93 addi s11,s11,-408 # 800010ac <test_B_res>
8000024c: 00000093 li ra,0
80000250: 00100113 li sp,1
80000254: fff00193 li gp,-1
80000258: 80000237 lui tp,0x80000
8000025c: fff20213 addi tp,tp,-1 # 7fffffff <_end+0xffffef3f>
80000260: 800002b7 lui t0,0x80000
80000264: 00000f93 li t6,0
80000268: 0000e463 bltu ra,zero,80000270 <_start+0x270>
8000026c: 001fef93 ori t6,t6,1
80000270: 00016463 bltu sp,zero,80000278 <_start+0x278>
80000274: 002fef93 ori t6,t6,2
80000278: 0001e463 bltu gp,zero,80000280 <_start+0x280>
8000027c: 004fef93 ori t6,t6,4
80000280: 00026463 bltu tp,zero,80000288 <_start+0x288>
80000284: 008fef93 ori t6,t6,8
80000288: 0002e463 bltu t0,zero,80000290 <_start+0x290>
8000028c: 010fef93 ori t6,t6,16
80000290: 00106463 bltu zero,ra,80000298 <_start+0x298>
80000294: 020fef93 ori t6,t6,32
80000298: 00206463 bltu zero,sp,800002a0 <_start+0x2a0>
8000029c: 040fef93 ori t6,t6,64
800002a0: 00306463 bltu zero,gp,800002a8 <_start+0x2a8>
800002a4: 080fef93 ori t6,t6,128
800002a8: 00406463 bltu zero,tp,800002b0 <_start+0x2b0>
800002ac: 100fef93 ori t6,t6,256
800002b0: 00506463 bltu zero,t0,800002b8 <_start+0x2b8>
800002b4: 200fef93 ori t6,t6,512
800002b8: 01fda023 sw t6,0(s11)
800002bc: 00001a97 auipc s5,0x1
800002c0: d58a8a93 addi s5,s5,-680 # 80001014 <test_C_data>
800002c4: 00001b17 auipc s6,0x1
800002c8: decb0b13 addi s6,s6,-532 # 800010b0 <test_C_res>
800002cc: 000aaf83 lw t6,0(s5)
800002d0: fff00113 li sp,-1
800002d4: fff00193 li gp,-1
800002d8: 0fedd237 lui tp,0xfedd
800002dc: ba920213 addi tp,tp,-1111 # fedcba9 <_start-0x70123457>
800002e0: 03f06463 bltu zero,t6,80000308 <_start+0x308>
800002e4: 00000113 li sp,0
800002e8: 00000193 li gp,0
800002ec: 00000213 li tp,0
800002f0: 876541b7 lui gp,0x87654
800002f4: 32118193 addi gp,gp,801 # 87654321 <_end+0x7653261>
800002f8: 03f06463 bltu zero,t6,80000320 <_start+0x320>
800002fc: 00000113 li sp,0
80000300: 00000193 li gp,0
80000304: 00000213 li tp,0
80000308: 9abce137 lui sp,0x9abce
8000030c: ef010113 addi sp,sp,-272 # 9abcdef0 <_end+0x1abcce30>
80000310: fff060e3 bltu zero,t6,800002f0 <_start+0x2f0>
80000314: 00000113 li sp,0
80000318: 00000193 li gp,0
8000031c: 00000213 li tp,0
80000320: 000b2023 sw zero,0(s6)
80000324: 002b2223 sw sp,4(s6)
80000328: 003b2423 sw gp,8(s6)
8000032c: 004b2623 sw tp,12(s6)
80000330: 00001517 auipc a0,0x1
80000334: cf050513 addi a0,a0,-784 # 80001020 <codasip_signature_start>
80000338: 00001597 auipc a1,0x1
8000033c: d8858593 addi a1,a1,-632 # 800010c0 <_end>
80000340: f0100637 lui a2,0xf0100
80000344: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee6c>
80000348 <complience_halt_loop>:
80000348: 02b50663 beq a0,a1,80000374 <complience_halt_break>
8000034c: 00c52683 lw a3,12(a0)
80000350: 00d62023 sw a3,0(a2)
80000354: 00852683 lw a3,8(a0)
80000358: 00d62023 sw a3,0(a2)
8000035c: 00452683 lw a3,4(a0)
80000360: 00d62023 sw a3,0(a2)
80000364: 00052683 lw a3,0(a0)
80000368: 00d62023 sw a3,0(a2)
8000036c: 01050513 addi a0,a0,16
80000370: fd9ff06f j 80000348 <complience_halt_loop>
80000374 <complience_halt_break>:
80000374: f0100537 lui a0,0xf0100
80000378: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee60>
8000037c: 00052023 sw zero,0(a0)
80000380: 0000 unimp
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_C_data>:
80001014: 0001 nop
...
80001020 <codasip_signature_start>:
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_A2_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058 <test_A3_res>:
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074 <test_A4_res>:
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac <test_B_res>:
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0 <test_C_res>:
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff

View file

@ -0,0 +1,358 @@
/home/spinalvm/hdl/riscv-compliance/work//I-BNE-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 01810113 addi sp,sp,24 # 80001020 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 00000213 li tp,0
80000018: 00100293 li t0,1
8000001c: fff00313 li t1,-1
80000020: 800003b7 lui t2,0x80000
80000024: fff38393 addi t2,t2,-1 # 7fffffff <_end+0xffffef3f>
80000028: 80000437 lui s0,0x80000
8000002c: 00000f93 li t6,0
80000030: 00419463 bne gp,tp,80000038 <_start+0x38>
80000034: 001fef93 ori t6,t6,1
80000038: 00519463 bne gp,t0,80000040 <_start+0x40>
8000003c: 002fef93 ori t6,t6,2
80000040: 00619463 bne gp,t1,80000048 <_start+0x48>
80000044: 004fef93 ori t6,t6,4
80000048: 00719463 bne gp,t2,80000050 <_start+0x50>
8000004c: 008fef93 ori t6,t6,8
80000050: 00819463 bne gp,s0,80000058 <_start+0x58>
80000054: 010fef93 ori t6,t6,16
80000058: 00312023 sw gp,0(sp)
8000005c: 00412223 sw tp,4(sp)
80000060: 00512423 sw t0,8(sp)
80000064: 00612623 sw t1,12(sp)
80000068: 00712823 sw t2,16(sp)
8000006c: 00812a23 sw s0,20(sp)
80000070: 01f12c23 sw t6,24(sp)
80000074: 00001097 auipc ra,0x1
80000078: f9008093 addi ra,ra,-112 # 80001004 <test_A2_data>
8000007c: 00001117 auipc sp,0x1
80000080: fc010113 addi sp,sp,-64 # 8000103c <test_A2_res>
80000084: 0000a303 lw t1,0(ra)
80000088: 00000393 li t2,0
8000008c: 00100413 li s0,1
80000090: fff00493 li s1,-1
80000094: 80000537 lui a0,0x80000
80000098: fff50513 addi a0,a0,-1 # 7fffffff <_end+0xffffef3f>
8000009c: 800005b7 lui a1,0x80000
800000a0: 00000f93 li t6,0
800000a4: 00731463 bne t1,t2,800000ac <_start+0xac>
800000a8: 001fef93 ori t6,t6,1
800000ac: 00831463 bne t1,s0,800000b4 <_start+0xb4>
800000b0: 002fef93 ori t6,t6,2
800000b4: 00931463 bne t1,s1,800000bc <_start+0xbc>
800000b8: 004fef93 ori t6,t6,4
800000bc: 00a31463 bne t1,a0,800000c4 <_start+0xc4>
800000c0: 008fef93 ori t6,t6,8
800000c4: 00b31463 bne t1,a1,800000cc <_start+0xcc>
800000c8: 010fef93 ori t6,t6,16
800000cc: 00612023 sw t1,0(sp)
800000d0: 00712223 sw t2,4(sp)
800000d4: 00812423 sw s0,8(sp)
800000d8: 00912623 sw s1,12(sp)
800000dc: 00a12823 sw a0,16(sp)
800000e0: 00b12a23 sw a1,20(sp)
800000e4: 01f12c23 sw t6,24(sp)
800000e8: 00001097 auipc ra,0x1
800000ec: f2008093 addi ra,ra,-224 # 80001008 <test_A3_data>
800000f0: 00001117 auipc sp,0x1
800000f4: f6810113 addi sp,sp,-152 # 80001058 <test_A3_res>
800000f8: 0000a603 lw a2,0(ra)
800000fc: 00000693 li a3,0
80000100: 00100713 li a4,1
80000104: fff00793 li a5,-1
80000108: 80000837 lui a6,0x80000
8000010c: fff80813 addi a6,a6,-1 # 7fffffff <_end+0xffffef3f>
80000110: 800008b7 lui a7,0x80000
80000114: 00000f93 li t6,0
80000118: 00d61463 bne a2,a3,80000120 <_start+0x120>
8000011c: 001fef93 ori t6,t6,1
80000120: 00e61463 bne a2,a4,80000128 <_start+0x128>
80000124: 002fef93 ori t6,t6,2
80000128: 00f61463 bne a2,a5,80000130 <_start+0x130>
8000012c: 004fef93 ori t6,t6,4
80000130: 01061463 bne a2,a6,80000138 <_start+0x138>
80000134: 008fef93 ori t6,t6,8
80000138: 01161463 bne a2,a7,80000140 <_start+0x140>
8000013c: 010fef93 ori t6,t6,16
80000140: 00c12023 sw a2,0(sp)
80000144: 00d12223 sw a3,4(sp)
80000148: 00e12423 sw a4,8(sp)
8000014c: 00f12623 sw a5,12(sp)
80000150: 01012823 sw a6,16(sp)
80000154: 01112a23 sw a7,20(sp)
80000158: 01f12c23 sw t6,24(sp)
8000015c: 00001097 auipc ra,0x1
80000160: eb008093 addi ra,ra,-336 # 8000100c <test_A4_data>
80000164: 00001117 auipc sp,0x1
80000168: f1010113 addi sp,sp,-240 # 80001074 <test_A4_res>
8000016c: 0000a903 lw s2,0(ra)
80000170: 00000993 li s3,0
80000174: 00100a13 li s4,1
80000178: fff00a93 li s5,-1
8000017c: 80000b37 lui s6,0x80000
80000180: fffb0b13 addi s6,s6,-1 # 7fffffff <_end+0xffffef3f>
80000184: 80000bb7 lui s7,0x80000
80000188: 00000f93 li t6,0
8000018c: 01391463 bne s2,s3,80000194 <_start+0x194>
80000190: 001fef93 ori t6,t6,1
80000194: 01491463 bne s2,s4,8000019c <_start+0x19c>
80000198: 002fef93 ori t6,t6,2
8000019c: 01591463 bne s2,s5,800001a4 <_start+0x1a4>
800001a0: 004fef93 ori t6,t6,4
800001a4: 01691463 bne s2,s6,800001ac <_start+0x1ac>
800001a8: 008fef93 ori t6,t6,8
800001ac: 01791463 bne s2,s7,800001b4 <_start+0x1b4>
800001b0: 010fef93 ori t6,t6,16
800001b4: 01212023 sw s2,0(sp)
800001b8: 01312223 sw s3,4(sp)
800001bc: 01412423 sw s4,8(sp)
800001c0: 01512623 sw s5,12(sp)
800001c4: 01612823 sw s6,16(sp)
800001c8: 01712a23 sw s7,20(sp)
800001cc: 01f12c23 sw t6,24(sp)
800001d0: 00001097 auipc ra,0x1
800001d4: e4008093 addi ra,ra,-448 # 80001010 <test_A5_data>
800001d8: 00001117 auipc sp,0x1
800001dc: eb810113 addi sp,sp,-328 # 80001090 <test_A5_res>
800001e0: 0000ac03 lw s8,0(ra)
800001e4: 00000c93 li s9,0
800001e8: 00100d13 li s10,1
800001ec: fff00d93 li s11,-1
800001f0: 80000e37 lui t3,0x80000
800001f4: fffe0e13 addi t3,t3,-1 # 7fffffff <_end+0xffffef3f>
800001f8: 80000eb7 lui t4,0x80000
800001fc: 00000f93 li t6,0
80000200: 019c1463 bne s8,s9,80000208 <_start+0x208>
80000204: 001fef93 ori t6,t6,1
80000208: 01ac1463 bne s8,s10,80000210 <_start+0x210>
8000020c: 002fef93 ori t6,t6,2
80000210: 01bc1463 bne s8,s11,80000218 <_start+0x218>
80000214: 004fef93 ori t6,t6,4
80000218: 01cc1463 bne s8,t3,80000220 <_start+0x220>
8000021c: 008fef93 ori t6,t6,8
80000220: 01dc1463 bne s8,t4,80000228 <_start+0x228>
80000224: 010fef93 ori t6,t6,16
80000228: 01812023 sw s8,0(sp)
8000022c: 01912223 sw s9,4(sp)
80000230: 01a12423 sw s10,8(sp)
80000234: 01b12623 sw s11,12(sp)
80000238: 01c12823 sw t3,16(sp)
8000023c: 01d12a23 sw t4,20(sp)
80000240: 01f12c23 sw t6,24(sp)
80000244: 00001d97 auipc s11,0x1
80000248: e68d8d93 addi s11,s11,-408 # 800010ac <test_B_res>
8000024c: 00000093 li ra,0
80000250: 00100113 li sp,1
80000254: fff00193 li gp,-1
80000258: 80000237 lui tp,0x80000
8000025c: fff20213 addi tp,tp,-1 # 7fffffff <_end+0xffffef3f>
80000260: 800002b7 lui t0,0x80000
80000264: 00000f93 li t6,0
80000268: 00009463 bnez ra,80000270 <_start+0x270>
8000026c: 001fef93 ori t6,t6,1
80000270: 00011463 bnez sp,80000278 <_start+0x278>
80000274: 002fef93 ori t6,t6,2
80000278: 00019463 bnez gp,80000280 <_start+0x280>
8000027c: 004fef93 ori t6,t6,4
80000280: 00021463 bnez tp,80000288 <_start+0x288>
80000284: 008fef93 ori t6,t6,8
80000288: 00029463 bnez t0,80000290 <_start+0x290>
8000028c: 010fef93 ori t6,t6,16
80000290: 00101463 bne zero,ra,80000298 <_start+0x298>
80000294: 020fef93 ori t6,t6,32
80000298: 00201463 bne zero,sp,800002a0 <_start+0x2a0>
8000029c: 040fef93 ori t6,t6,64
800002a0: 00301463 bne zero,gp,800002a8 <_start+0x2a8>
800002a4: 080fef93 ori t6,t6,128
800002a8: 00401463 bne zero,tp,800002b0 <_start+0x2b0>
800002ac: 100fef93 ori t6,t6,256
800002b0: 00501463 bne zero,t0,800002b8 <_start+0x2b8>
800002b4: 200fef93 ori t6,t6,512
800002b8: 01fda023 sw t6,0(s11)
800002bc: 00001a97 auipc s5,0x1
800002c0: d58a8a93 addi s5,s5,-680 # 80001014 <test_C_data>
800002c4: 00001b17 auipc s6,0x1
800002c8: decb0b13 addi s6,s6,-532 # 800010b0 <test_C_res>
800002cc: 000aaf83 lw t6,0(s5)
800002d0: fff00113 li sp,-1
800002d4: fff00193 li gp,-1
800002d8: 0fedd237 lui tp,0xfedd
800002dc: ba920213 addi tp,tp,-1111 # fedcba9 <_start-0x70123457>
800002e0: 020f9463 bnez t6,80000308 <_start+0x308>
800002e4: 00000113 li sp,0
800002e8: 00000193 li gp,0
800002ec: 00000213 li tp,0
800002f0: 876541b7 lui gp,0x87654
800002f4: 32118193 addi gp,gp,801 # 87654321 <_end+0x7653261>
800002f8: 020f9463 bnez t6,80000320 <_start+0x320>
800002fc: 00000113 li sp,0
80000300: 00000193 li gp,0
80000304: 00000213 li tp,0
80000308: 9abce137 lui sp,0x9abce
8000030c: ef010113 addi sp,sp,-272 # 9abcdef0 <_end+0x1abcce30>
80000310: fe0f90e3 bnez t6,800002f0 <_start+0x2f0>
80000314: 00000113 li sp,0
80000318: 00000193 li gp,0
8000031c: 00000213 li tp,0
80000320: 000b2023 sw zero,0(s6)
80000324: 002b2223 sw sp,4(s6)
80000328: 003b2423 sw gp,8(s6)
8000032c: 004b2623 sw tp,12(s6)
80000330: 00001517 auipc a0,0x1
80000334: cf050513 addi a0,a0,-784 # 80001020 <codasip_signature_start>
80000338: 00001597 auipc a1,0x1
8000033c: d8858593 addi a1,a1,-632 # 800010c0 <_end>
80000340: f0100637 lui a2,0xf0100
80000344: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee6c>
80000348 <complience_halt_loop>:
80000348: 02b50663 beq a0,a1,80000374 <complience_halt_break>
8000034c: 00c52683 lw a3,12(a0)
80000350: 00d62023 sw a3,0(a2)
80000354: 00852683 lw a3,8(a0)
80000358: 00d62023 sw a3,0(a2)
8000035c: 00452683 lw a3,4(a0)
80000360: 00d62023 sw a3,0(a2)
80000364: 00052683 lw a3,0(a0)
80000368: 00d62023 sw a3,0(a2)
8000036c: 01050513 addi a0,a0,16
80000370: fd9ff06f j 80000348 <complience_halt_loop>
80000374 <complience_halt_break>:
80000374: f0100537 lui a0,0xf0100
80000378: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee60>
8000037c: 00052023 sw zero,0(a0)
80000380: 0000 unimp
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_C_data>:
80001014: ffff 0xffff
80001016: ffff 0xffff
...
80001020 <codasip_signature_start>:
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c <test_A2_res>:
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058 <test_A3_res>:
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074 <test_A4_res>:
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac <test_B_res>:
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0 <test_C_res>:
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff

View file

@ -0,0 +1,188 @@
/home/spinalvm/hdl/riscv-compliance/work//I-CSRRC-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001797 auipc a5,0x1
80000004: 00078793 mv a5,a5
80000008: 00100093 li ra,1
8000000c: 00000113 li sp,0
80000010: 7ff101b7 lui gp,0x7ff10
80000014: fff18193 addi gp,gp,-1 # 7ff0ffff <_start-0xf0001>
80000018: 80000237 lui tp,0x80000
8000001c: fff00293 li t0,-1
80000020: 34029073 csrw mscratch,t0
80000024: 3400b0f3 csrrc ra,mscratch,ra
80000028: 340290f3 csrrw ra,mscratch,t0
8000002c: 34013173 csrrc sp,mscratch,sp
80000030: 34029173 csrrw sp,mscratch,t0
80000034: 3401b1f3 csrrc gp,mscratch,gp
80000038: 340291f3 csrrw gp,mscratch,t0
8000003c: 34023273 csrrc tp,mscratch,tp
80000040: 34029273 csrrw tp,mscratch,t0
80000044: 3402b2f3 csrrc t0,mscratch,t0
80000048: 340012f3 csrrw t0,mscratch,zero
8000004c: 0007a023 sw zero,0(a5) # 80001000 <codasip_signature_start>
80000050: 0017a223 sw ra,4(a5)
80000054: 0027a423 sw sp,8(a5)
80000058: 0037a623 sw gp,12(a5)
8000005c: 0047a823 sw tp,16(a5)
80000060: 0057aa23 sw t0,20(a5)
80000064: 00001297 auipc t0,0x1
80000068: fb428293 addi t0,t0,-76 # 80001018 <test_A2_res>
8000006c: 00100593 li a1,1
80000070: 00000613 li a2,0
80000074: 7ff106b7 lui a3,0x7ff10
80000078: fff68693 addi a3,a3,-1 # 7ff0ffff <_start-0xf0001>
8000007c: 80000737 lui a4,0x80000
80000080: fff00793 li a5,-1
80000084: 34079073 csrw mscratch,a5
80000088: 3405b5f3 csrrc a1,mscratch,a1
8000008c: 34063673 csrrc a2,mscratch,a2
80000090: 3406b6f3 csrrc a3,mscratch,a3
80000094: 34073773 csrrc a4,mscratch,a4
80000098: 3407b7f3 csrrc a5,mscratch,a5
8000009c: 34003873 csrrc a6,mscratch,zero
800000a0: 00b2a023 sw a1,0(t0)
800000a4: 00c2a223 sw a2,4(t0)
800000a8: 00d2a423 sw a3,8(t0)
800000ac: 00e2a623 sw a4,12(t0)
800000b0: 00f2a823 sw a5,16(t0)
800000b4: 0102aa23 sw a6,20(t0)
800000b8: 00001d17 auipc s10,0x1
800000bc: f78d0d13 addi s10,s10,-136 # 80001030 <test_B_res>
800000c0: 12345ab7 lui s5,0x12345
800000c4: 678a8a93 addi s5,s5,1656 # 12345678 <_start-0x6dcba988>
800000c8: fff00a13 li s4,-1
800000cc: 340a1073 csrw mscratch,s4
800000d0: 340abb73 csrrc s6,mscratch,s5
800000d4: 340b3af3 csrrc s5,mscratch,s6
800000d8: 340a1bf3 csrrw s7,mscratch,s4
800000dc: 340bbc73 csrrc s8,mscratch,s7
800000e0: 34003cf3 csrrc s9,mscratch,zero
800000e4: 015d2023 sw s5,0(s10)
800000e8: 016d2223 sw s6,4(s10)
800000ec: 017d2423 sw s7,8(s10)
800000f0: 018d2623 sw s8,12(s10)
800000f4: 019d2823 sw s9,16(s10)
800000f8: 00001097 auipc ra,0x1
800000fc: f4c08093 addi ra,ra,-180 # 80001044 <test_C_res>
80000100: 42727f37 lui t5,0x42727
80000104: e6ff0f13 addi t5,t5,-401 # 42726e6f <_start-0x3d8d9191>
80000108: 340f1073 csrw mscratch,t5
8000010c: 340f3073 csrc mscratch,t5
80000110: 0000a023 sw zero,0(ra)
80000114: 01e0a223 sw t5,4(ra)
80000118: 00001117 auipc sp,0x1
8000011c: f3410113 addi sp,sp,-204 # 8000104c <test_D_res>
80000120: f7ff9fb7 lui t6,0xf7ff9
80000124: 818f8f93 addi t6,t6,-2024 # f7ff8818 <_end+0x77ff77b8>
80000128: 340f9073 csrw mscratch,t6
8000012c: 34003073 csrc mscratch,zero
80000130: 34003073 csrc mscratch,zero
80000134: 34003ff3 csrrc t6,mscratch,zero
80000138: 00012023 sw zero,0(sp)
8000013c: 01f12223 sw t6,4(sp)
80000140: 00001117 auipc sp,0x1
80000144: f1410113 addi sp,sp,-236 # 80001054 <test_E_res>
80000148: fff00213 li tp,-1
8000014c: 963852b7 lui t0,0x96385
80000150: 27428293 addi t0,t0,628 # 96385274 <_end+0x16384214>
80000154: 321653b7 lui t2,0x32165
80000158: 49838393 addi t2,t2,1176 # 32165498 <_start-0x4de9ab68>
8000015c: 34021073 csrw mscratch,tp
80000160: 3402b2f3 csrrc t0,mscratch,t0
80000164: 3403b3f3 csrrc t2,mscratch,t2
80000168: 34043473 csrrc s0,mscratch,s0
8000016c: 00512023 sw t0,0(sp)
80000170: 00712223 sw t2,4(sp)
80000174: 00812423 sw s0,8(sp)
80000178: 00001517 auipc a0,0x1
8000017c: e8850513 addi a0,a0,-376 # 80001000 <codasip_signature_start>
80000180: 00001597 auipc a1,0x1
80000184: ee058593 addi a1,a1,-288 # 80001060 <_end>
80000188: f0100637 lui a2,0xf0100
8000018c: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feecc>
80000190 <complience_halt_loop>:
80000190: 02b50663 beq a0,a1,800001bc <complience_halt_break>
80000194: 00c52683 lw a3,12(a0)
80000198: 00d62023 sw a3,0(a2)
8000019c: 00852683 lw a3,8(a0)
800001a0: 00d62023 sw a3,0(a2)
800001a4: 00452683 lw a3,4(a0)
800001a8: 00d62023 sw a3,0(a2)
800001ac: 00052683 lw a3,0(a0)
800001b0: 00d62023 sw a3,0(a2)
800001b4: 01050513 addi a0,a0,16
800001b8: fd9ff06f j 80000190 <complience_halt_loop>
800001bc <complience_halt_break>:
800001bc: f0100537 lui a0,0xf0100
800001c0: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feec0>
800001c4: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018 <test_A2_res>:
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030 <test_B_res>:
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044 <test_C_res>:
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c <test_D_res>:
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054 <test_E_res>:
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff

View file

@ -0,0 +1,119 @@
/home/spinalvm/hdl/riscv-compliance/work//I-CSRRCI-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001797 auipc a5,0x1
80000004: 00078793 mv a5,a5
80000008: fff00413 li s0,-1
8000000c: 34041073 csrw mscratch,s0
80000010: 3400f0f3 csrrci ra,mscratch,1
80000014: 340410f3 csrrw ra,mscratch,s0
80000018: 34007173 csrrci sp,mscratch,0
8000001c: 34041173 csrrw sp,mscratch,s0
80000020: 340ff1f3 csrrci gp,mscratch,31
80000024: 340411f3 csrrw gp,mscratch,s0
80000028: 34087273 csrrci tp,mscratch,16
8000002c: 34041273 csrrw tp,mscratch,s0
80000030: 3407f2f3 csrrci t0,mscratch,15
80000034: 340412f3 csrrw t0,mscratch,s0
80000038: 0007a023 sw zero,0(a5) # 80001000 <codasip_signature_start>
8000003c: 0017a223 sw ra,4(a5)
80000040: 0027a423 sw sp,8(a5)
80000044: 0037a623 sw gp,12(a5)
80000048: 0047a823 sw tp,16(a5)
8000004c: 0057aa23 sw t0,20(a5)
80000050: 0087ac23 sw s0,24(a5)
80000054: 00001297 auipc t0,0x1
80000058: fc828293 addi t0,t0,-56 # 8000101c <test_A2_res>
8000005c: fff00413 li s0,-1
80000060: 34041073 csrw mscratch,s0
80000064: 3400f5f3 csrrci a1,mscratch,1
80000068: 34007673 csrrci a2,mscratch,0
8000006c: 340ff6f3 csrrci a3,mscratch,31
80000070: 34087773 csrrci a4,mscratch,16
80000074: 3407f7f3 csrrci a5,mscratch,15
80000078: 34007873 csrrci a6,mscratch,0
8000007c: 00b2a023 sw a1,0(t0)
80000080: 00c2a223 sw a2,4(t0)
80000084: 00d2a423 sw a3,8(t0)
80000088: 00e2a623 sw a4,12(t0)
8000008c: 00f2a823 sw a5,16(t0)
80000090: 0102aa23 sw a6,20(t0)
80000094: 0082ac23 sw s0,24(t0)
80000098: 00001097 auipc ra,0x1
8000009c: fa008093 addi ra,ra,-96 # 80001038 <test_B_res>
800000a0: 32165a37 lui s4,0x32165
800000a4: 498a0a13 addi s4,s4,1176 # 32165498 <_start-0x4de9ab68>
800000a8: 340a1073 csrw mscratch,s4
800000ac: 3407f073 csrci mscratch,15
800000b0: 340a1a73 csrrw s4,mscratch,s4
800000b4: 0000a023 sw zero,0(ra)
800000b8: 0140a223 sw s4,4(ra)
800000bc: 00001517 auipc a0,0x1
800000c0: f4450513 addi a0,a0,-188 # 80001000 <codasip_signature_start>
800000c4: 00001597 auipc a1,0x1
800000c8: f7c58593 addi a1,a1,-132 # 80001040 <_end>
800000cc: f0100637 lui a2,0xf0100
800000d0: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feeec>
800000d4 <complience_halt_loop>:
800000d4: 02b50663 beq a0,a1,80000100 <complience_halt_break>
800000d8: 00c52683 lw a3,12(a0)
800000dc: 00d62023 sw a3,0(a2)
800000e0: 00852683 lw a3,8(a0)
800000e4: 00d62023 sw a3,0(a2)
800000e8: 00452683 lw a3,4(a0)
800000ec: 00d62023 sw a3,0(a2)
800000f0: 00052683 lw a3,0(a0)
800000f4: 00d62023 sw a3,0(a2)
800000f8: 01050513 addi a0,a0,16
800000fc: fd9ff06f j 800000d4 <complience_halt_loop>
80000100 <complience_halt_break>:
80000100: f0100537 lui a0,0xf0100
80000104: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feee0>
80000108: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c <test_A2_res>:
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038 <test_B_res>:
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff

View file

@ -0,0 +1,187 @@
/home/spinalvm/hdl/riscv-compliance/work//I-CSRRS-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001797 auipc a5,0x1
80000004: 00078793 mv a5,a5
80000008: 00100093 li ra,1
8000000c: 00000113 li sp,0
80000010: 7ff101b7 lui gp,0x7ff10
80000014: fff18193 addi gp,gp,-1 # 7ff0ffff <_start-0xf0001>
80000018: 80000237 lui tp,0x80000
8000001c: fff00293 li t0,-1
80000020: 34001073 csrw mscratch,zero
80000024: 3400a0f3 csrrs ra,mscratch,ra
80000028: 340010f3 csrrw ra,mscratch,zero
8000002c: 34012173 csrrs sp,mscratch,sp
80000030: 34001173 csrrw sp,mscratch,zero
80000034: 3401a1f3 csrrs gp,mscratch,gp
80000038: 340011f3 csrrw gp,mscratch,zero
8000003c: 34022273 csrrs tp,mscratch,tp
80000040: 34001273 csrrw tp,mscratch,zero
80000044: 3402a2f3 csrrs t0,mscratch,t0
80000048: 340012f3 csrrw t0,mscratch,zero
8000004c: 0007a023 sw zero,0(a5) # 80001000 <codasip_signature_start>
80000050: 0017a223 sw ra,4(a5)
80000054: 0027a423 sw sp,8(a5)
80000058: 0037a623 sw gp,12(a5)
8000005c: 0047a823 sw tp,16(a5)
80000060: 0057aa23 sw t0,20(a5)
80000064: 00001297 auipc t0,0x1
80000068: fb428293 addi t0,t0,-76 # 80001018 <test_A2_res>
8000006c: 00100593 li a1,1
80000070: 00000613 li a2,0
80000074: 7ff106b7 lui a3,0x7ff10
80000078: fff68693 addi a3,a3,-1 # 7ff0ffff <_start-0xf0001>
8000007c: 80000737 lui a4,0x80000
80000080: fff00793 li a5,-1
80000084: 34001073 csrw mscratch,zero
80000088: 3405a5f3 csrrs a1,mscratch,a1
8000008c: 34062673 csrrs a2,mscratch,a2
80000090: 3406a6f3 csrrs a3,mscratch,a3
80000094: 34072773 csrrs a4,mscratch,a4
80000098: 3407a7f3 csrrs a5,mscratch,a5
8000009c: 34002873 csrr a6,mscratch
800000a0: 00b2a023 sw a1,0(t0)
800000a4: 00c2a223 sw a2,4(t0)
800000a8: 00d2a423 sw a3,8(t0)
800000ac: 00e2a623 sw a4,12(t0)
800000b0: 00f2a823 sw a5,16(t0)
800000b4: 0102aa23 sw a6,20(t0)
800000b8: 00001d17 auipc s10,0x1
800000bc: f78d0d13 addi s10,s10,-136 # 80001030 <test_B_res>
800000c0: 12345ab7 lui s5,0x12345
800000c4: 678a8a93 addi s5,s5,1656 # 12345678 <_start-0x6dcba988>
800000c8: 34001073 csrw mscratch,zero
800000cc: 340aab73 csrrs s6,mscratch,s5
800000d0: 340b2bf3 csrrs s7,mscratch,s6
800000d4: 34001bf3 csrrw s7,mscratch,zero
800000d8: 340bac73 csrrs s8,mscratch,s7
800000dc: 34002cf3 csrr s9,mscratch
800000e0: 015d2023 sw s5,0(s10)
800000e4: 016d2223 sw s6,4(s10)
800000e8: 017d2423 sw s7,8(s10)
800000ec: 018d2623 sw s8,12(s10)
800000f0: 019d2823 sw s9,16(s10)
800000f4: 00001097 auipc ra,0x1
800000f8: f5008093 addi ra,ra,-176 # 80001044 <test_C_res>
800000fc: 42727f37 lui t5,0x42727
80000100: e6ff0f13 addi t5,t5,-401 # 42726e6f <_start-0x3d8d9191>
80000104: 340f1073 csrw mscratch,t5
80000108: 340f2073 csrs mscratch,t5
8000010c: 0000a023 sw zero,0(ra)
80000110: 01e0a223 sw t5,4(ra)
80000114: 00001117 auipc sp,0x1
80000118: f3810113 addi sp,sp,-200 # 8000104c <test_D_res>
8000011c: f7ff9fb7 lui t6,0xf7ff9
80000120: 818f8f93 addi t6,t6,-2024 # f7ff8818 <_end+0x77ff77b8>
80000124: 340f9073 csrw mscratch,t6
80000128: 34002073 csrr zero,mscratch
8000012c: 34002073 csrr zero,mscratch
80000130: 34002ff3 csrr t6,mscratch
80000134: 00012023 sw zero,0(sp)
80000138: 01f12223 sw t6,4(sp)
8000013c: 00001117 auipc sp,0x1
80000140: f1810113 addi sp,sp,-232 # 80001054 <test_E_res>
80000144: 321653b7 lui t2,0x32165
80000148: 49838393 addi t2,t2,1176 # 32165498 <_start-0x4de9ab68>
8000014c: 963852b7 lui t0,0x96385
80000150: 27428293 addi t0,t0,628 # 96385274 <_end+0x16384214>
80000154: 34001073 csrw mscratch,zero
80000158: 3402a2f3 csrrs t0,mscratch,t0
8000015c: 3403a3f3 csrrs t2,mscratch,t2
80000160: 34042473 csrrs s0,mscratch,s0
80000164: 00512023 sw t0,0(sp)
80000168: 00712223 sw t2,4(sp)
8000016c: 00812423 sw s0,8(sp)
80000170: 00001517 auipc a0,0x1
80000174: e9050513 addi a0,a0,-368 # 80001000 <codasip_signature_start>
80000178: 00001597 auipc a1,0x1
8000017c: ee858593 addi a1,a1,-280 # 80001060 <_end>
80000180: f0100637 lui a2,0xf0100
80000184: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feecc>
80000188 <complience_halt_loop>:
80000188: 02b50663 beq a0,a1,800001b4 <complience_halt_break>
8000018c: 00c52683 lw a3,12(a0)
80000190: 00d62023 sw a3,0(a2)
80000194: 00852683 lw a3,8(a0)
80000198: 00d62023 sw a3,0(a2)
8000019c: 00452683 lw a3,4(a0)
800001a0: 00d62023 sw a3,0(a2)
800001a4: 00052683 lw a3,0(a0)
800001a8: 00d62023 sw a3,0(a2)
800001ac: 01050513 addi a0,a0,16
800001b0: fd9ff06f j 80000188 <complience_halt_loop>
800001b4 <complience_halt_break>:
800001b4: f0100537 lui a0,0xf0100
800001b8: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feec0>
800001bc: 00052023 sw zero,0(a0)
800001c0: 0000 unimp
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018 <test_A2_res>:
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030 <test_B_res>:
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044 <test_C_res>:
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c <test_D_res>:
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054 <test_E_res>:
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff

View file

@ -0,0 +1,116 @@
/home/spinalvm/hdl/riscv-compliance/work//I-CSRRSI-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001797 auipc a5,0x1
80000004: 00078793 mv a5,a5
80000008: 34001073 csrw mscratch,zero
8000000c: 3400e0f3 csrrsi ra,mscratch,1
80000010: 340010f3 csrrw ra,mscratch,zero
80000014: 34006173 csrrsi sp,mscratch,0
80000018: 34001173 csrrw sp,mscratch,zero
8000001c: 340fe1f3 csrrsi gp,mscratch,31
80000020: 340011f3 csrrw gp,mscratch,zero
80000024: 34086273 csrrsi tp,mscratch,16
80000028: 34001273 csrrw tp,mscratch,zero
8000002c: 3407e2f3 csrrsi t0,mscratch,15
80000030: 340012f3 csrrw t0,mscratch,zero
80000034: 0007a023 sw zero,0(a5) # 80001000 <codasip_signature_start>
80000038: 0017a223 sw ra,4(a5)
8000003c: 0027a423 sw sp,8(a5)
80000040: 0037a623 sw gp,12(a5)
80000044: 0047a823 sw tp,16(a5)
80000048: 0057aa23 sw t0,20(a5)
8000004c: 00001297 auipc t0,0x1
80000050: fcc28293 addi t0,t0,-52 # 80001018 <test_A2_res>
80000054: 34001073 csrw mscratch,zero
80000058: 3400e5f3 csrrsi a1,mscratch,1
8000005c: 34006673 csrrsi a2,mscratch,0
80000060: 340fe6f3 csrrsi a3,mscratch,31
80000064: 34086773 csrrsi a4,mscratch,16
80000068: 3407e7f3 csrrsi a5,mscratch,15
8000006c: 34006873 csrrsi a6,mscratch,0
80000070: 0002a023 sw zero,0(t0)
80000074: 00b2a223 sw a1,4(t0)
80000078: 00c2a423 sw a2,8(t0)
8000007c: 00d2a623 sw a3,12(t0)
80000080: 00e2a823 sw a4,16(t0)
80000084: 00f2aa23 sw a5,20(t0)
80000088: 0102ac23 sw a6,24(t0)
8000008c: 00001097 auipc ra,0x1
80000090: fa808093 addi ra,ra,-88 # 80001034 <test_B_res>
80000094: 32165a37 lui s4,0x32165
80000098: 498a0a13 addi s4,s4,1176 # 32165498 <_start-0x4de9ab68>
8000009c: 340a1073 csrw mscratch,s4
800000a0: 3407e073 csrsi mscratch,15
800000a4: 340a1af3 csrrw s5,mscratch,s4
800000a8: 0000a023 sw zero,0(ra)
800000ac: 0150a223 sw s5,4(ra)
800000b0: 0140a423 sw s4,8(ra)
800000b4: 00001517 auipc a0,0x1
800000b8: f4c50513 addi a0,a0,-180 # 80001000 <codasip_signature_start>
800000bc: 00001597 auipc a1,0x1
800000c0: f8458593 addi a1,a1,-124 # 80001040 <_end>
800000c4: f0100637 lui a2,0xf0100
800000c8: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feeec>
800000cc <complience_halt_loop>:
800000cc: 02b50663 beq a0,a1,800000f8 <complience_halt_break>
800000d0: 00c52683 lw a3,12(a0)
800000d4: 00d62023 sw a3,0(a2)
800000d8: 00852683 lw a3,8(a0)
800000dc: 00d62023 sw a3,0(a2)
800000e0: 00452683 lw a3,4(a0)
800000e4: 00d62023 sw a3,0(a2)
800000e8: 00052683 lw a3,0(a0)
800000ec: 00d62023 sw a3,0(a2)
800000f0: 01050513 addi a0,a0,16
800000f4: fd9ff06f j 800000cc <complience_halt_loop>
800000f8 <complience_halt_break>:
800000f8: f0100537 lui a0,0xf0100
800000fc: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feee0>
80000100: 00052023 sw zero,0(a0)
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018 <test_A2_res>:
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034 <test_B_res>:
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff

View file

@ -0,0 +1,145 @@
/home/spinalvm/hdl/riscv-compliance/work//I-CSRRW-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001797 auipc a5,0x1
80000004: 00078793 mv a5,a5
80000008: 00100093 li ra,1
8000000c: 00000193 li gp,0
80000010: fff00293 li t0,-1
80000014: 80000db7 lui s11,0x80000
80000018: fffd8d93 addi s11,s11,-1 # 7fffffff <_end+0xffffefbf>
8000001c: 80000eb7 lui t4,0x80000
80000020: 34001073 csrw mscratch,zero
80000024: 34009173 csrrw sp,mscratch,ra
80000028: 34019273 csrrw tp,mscratch,gp
8000002c: 34029373 csrrw t1,mscratch,t0
80000030: 340d9e73 csrrw t3,mscratch,s11
80000034: 340e9f73 csrrw t5,mscratch,t4
80000038: 34001ff3 csrrw t6,mscratch,zero
8000003c: 0027a023 sw sp,0(a5) # 80001000 <codasip_signature_start>
80000040: 0047a223 sw tp,4(a5)
80000044: 0067a423 sw t1,8(a5)
80000048: 01c7a623 sw t3,12(a5)
8000004c: 01e7a823 sw t5,16(a5)
80000050: 01f7aa23 sw t6,20(a5)
80000054: 00001d17 auipc s10,0x1
80000058: fc4d0d13 addi s10,s10,-60 # 80001018 <test_B_res>
8000005c: 123450b7 lui ra,0x12345
80000060: 67808093 addi ra,ra,1656 # 12345678 <_start-0x6dcba988>
80000064: 9abce137 lui sp,0x9abce
80000068: ef010113 addi sp,sp,-272 # 9abcdef0 <_end+0x1abcceb0>
8000006c: 34009073 csrw mscratch,ra
80000070: 340111f3 csrrw gp,mscratch,sp
80000074: 34019273 csrrw tp,mscratch,gp
80000078: 340212f3 csrrw t0,mscratch,tp
8000007c: 34001373 csrrw t1,mscratch,zero
80000080: 003d2023 sw gp,0(s10)
80000084: 004d2223 sw tp,4(s10)
80000088: 005d2423 sw t0,8(s10)
8000008c: 006d2623 sw t1,12(s10)
80000090: 00001097 auipc ra,0x1
80000094: f9808093 addi ra,ra,-104 # 80001028 <test_C_res>
80000098: 42727137 lui sp,0x42727
8000009c: e6f10113 addi sp,sp,-401 # 42726e6f <_start-0x3d8d9191>
800000a0: 34011073 csrw mscratch,sp
800000a4: 34001073 csrw mscratch,zero
800000a8: 0000a023 sw zero,0(ra)
800000ac: 00001117 auipc sp,0x1
800000b0: f8010113 addi sp,sp,-128 # 8000102c <test_D_res>
800000b4: f7ff9db7 lui s11,0xf7ff9
800000b8: 818d8d93 addi s11,s11,-2024 # f7ff8818 <_end+0x77ff77d8>
800000bc: 340d9073 csrw mscratch,s11
800000c0: 34001073 csrw mscratch,zero
800000c4: 34001073 csrw mscratch,zero
800000c8: 340012f3 csrrw t0,mscratch,zero
800000cc: 00012023 sw zero,0(sp)
800000d0: 00512223 sw t0,4(sp)
800000d4: 00001117 auipc sp,0x1
800000d8: f6010113 addi sp,sp,-160 # 80001034 <test_E_res>
800000dc: 321653b7 lui t2,0x32165
800000e0: 49838393 addi t2,t2,1176 # 32165498 <_start-0x4de9ab68>
800000e4: 14726337 lui t1,0x14726
800000e8: 83630313 addi t1,t1,-1994 # 14725836 <_start-0x6b8da7ca>
800000ec: 963852b7 lui t0,0x96385
800000f0: 27428293 addi t0,t0,628 # 96385274 <_end+0x16384234>
800000f4: 34031073 csrw mscratch,t1
800000f8: 340292f3 csrrw t0,mscratch,t0
800000fc: 340393f3 csrrw t2,mscratch,t2
80000100: 34001473 csrrw s0,mscratch,zero
80000104: 00512023 sw t0,0(sp)
80000108: 00712223 sw t2,4(sp)
8000010c: 00812423 sw s0,8(sp)
80000110: 00001517 auipc a0,0x1
80000114: ef050513 addi a0,a0,-272 # 80001000 <codasip_signature_start>
80000118: 00001597 auipc a1,0x1
8000011c: f2858593 addi a1,a1,-216 # 80001040 <_end>
80000120: f0100637 lui a2,0xf0100
80000124: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feeec>
80000128 <complience_halt_loop>:
80000128: 02b50663 beq a0,a1,80000154 <complience_halt_break>
8000012c: 00c52683 lw a3,12(a0)
80000130: 00d62023 sw a3,0(a2)
80000134: 00852683 lw a3,8(a0)
80000138: 00d62023 sw a3,0(a2)
8000013c: 00452683 lw a3,4(a0)
80000140: 00d62023 sw a3,0(a2)
80000144: 00052683 lw a3,0(a0)
80000148: 00d62023 sw a3,0(a2)
8000014c: 01050513 addi a0,a0,16
80000150: fd9ff06f j 80000128 <complience_halt_loop>
80000154 <complience_halt_break>:
80000154: f0100537 lui a0,0xf0100
80000158: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feee0>
8000015c: 00052023 sw zero,0(a0)
80000160: 0000 unimp
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018 <test_B_res>:
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_C_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c <test_D_res>:
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034 <test_E_res>:
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff

View file

@ -0,0 +1,74 @@
/home/spinalvm/hdl/riscv-compliance/work//I-CSRRWI-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001797 auipc a5,0x1
80000004: 00078793 mv a5,a5
80000008: 34001073 csrw mscratch,zero
8000000c: 3400d173 csrrwi sp,mscratch,1
80000010: 34005273 csrrwi tp,mscratch,0
80000014: 340fd373 csrrwi t1,mscratch,31
80000018: 3407de73 csrrwi t3,mscratch,15
8000001c: 34085f73 csrrwi t5,mscratch,16
80000020: 34005ff3 csrrwi t6,mscratch,0
80000024: 0007a023 sw zero,0(a5) # 80001000 <codasip_signature_start>
80000028: 0027a223 sw sp,4(a5)
8000002c: 0047a423 sw tp,8(a5)
80000030: 0067a623 sw t1,12(a5)
80000034: 01c7a823 sw t3,16(a5)
80000038: 01e7aa23 sw t5,20(a5)
8000003c: 01f7ac23 sw t6,24(a5)
80000040: 00001097 auipc ra,0x1
80000044: fdc08093 addi ra,ra,-36 # 8000101c <test_B_res>
80000048: 3407d073 csrwi mscratch,15
8000004c: 34005073 csrwi mscratch,0
80000050: 0000a023 sw zero,0(ra)
80000054: 00001517 auipc a0,0x1
80000058: fac50513 addi a0,a0,-84 # 80001000 <codasip_signature_start>
8000005c: 00001597 auipc a1,0x1
80000060: fc458593 addi a1,a1,-60 # 80001020 <_end>
80000064: f0100637 lui a2,0xf0100
80000068: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
8000006c <complience_halt_loop>:
8000006c: 02b50663 beq a0,a1,80000098 <complience_halt_break>
80000070: 00c52683 lw a3,12(a0)
80000074: 00d62023 sw a3,0(a2)
80000078: 00852683 lw a3,8(a0)
8000007c: 00d62023 sw a3,0(a2)
80000080: 00452683 lw a3,4(a0)
80000084: 00d62023 sw a3,0(a2)
80000088: 00052683 lw a3,0(a0)
8000008c: 00d62023 sw a3,0(a2)
80000090: 01050513 addi a0,a0,16
80000094: fd9ff06f j 8000006c <complience_halt_loop>
80000098 <complience_halt_break>:
80000098: f0100537 lui a0,0xf0100
8000009c: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
800000a0: 00052023 sw zero,0(a0)
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c <test_B_res>:
8000101c: ffff 0xffff
8000101e: ffff 0xffff

View file

@ -0,0 +1,136 @@
/home/spinalvm/hdl/riscv-compliance/work//I-DELAY_SLOTS-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 11111137 lui sp,0x11111
8000000c: 11110113 addi sp,sp,273 # 11111111 <_start-0x6eeeeeef>
80000010: 0080006f j 80000018 <_start+0x18>
80000014: 00000113 li sp,0
80000018: 0020a023 sw sp,0(ra) # 80001000 <codasip_signature_start>
8000001c: 00001097 auipc ra,0x1
80000020: fe808093 addi ra,ra,-24 # 80001004 <test_A2_res>
80000024: 22222137 lui sp,0x22222
80000028: 22210113 addi sp,sp,546 # 22222222 <_start-0x5dddddde>
8000002c: 00000217 auipc tp,0x0
80000030: 01020213 addi tp,tp,16 # 8000003c <_start+0x3c>
80000034: 00020067 jr tp
80000038: 00000113 li sp,0
8000003c: 0020a023 sw sp,0(ra)
80000040: 00001097 auipc ra,0x1
80000044: fc808093 addi ra,ra,-56 # 80001008 <test_B1_res>
80000048: 00500293 li t0,5
8000004c: 00600313 li t1,6
80000050: 33333137 lui sp,0x33333
80000054: 33310113 addi sp,sp,819 # 33333333 <_start-0x4ccccccd>
80000058: 00528463 beq t0,t0,80000060 <_start+0x60>
8000005c: 00000113 li sp,0
80000060: 0020a023 sw sp,0(ra)
80000064: 00001097 auipc ra,0x1
80000068: fa808093 addi ra,ra,-88 # 8000100c <test_B2_res>
8000006c: 00500293 li t0,5
80000070: 00600313 li t1,6
80000074: 44444137 lui sp,0x44444
80000078: 44410113 addi sp,sp,1092 # 44444444 <_start-0x3bbbbbbc>
8000007c: 00629463 bne t0,t1,80000084 <_start+0x84>
80000080: 00000113 li sp,0
80000084: 0020a023 sw sp,0(ra)
80000088: 00001097 auipc ra,0x1
8000008c: f8808093 addi ra,ra,-120 # 80001010 <test_B3_res>
80000090: 00500293 li t0,5
80000094: 00600313 li t1,6
80000098: 55555137 lui sp,0x55555
8000009c: 55510113 addi sp,sp,1365 # 55555555 <_start-0x2aaaaaab>
800000a0: 0062c463 blt t0,t1,800000a8 <_start+0xa8>
800000a4: 00000113 li sp,0
800000a8: 0020a023 sw sp,0(ra)
800000ac: 00001097 auipc ra,0x1
800000b0: f6808093 addi ra,ra,-152 # 80001014 <test_B4_res>
800000b4: 00500293 li t0,5
800000b8: 00600313 li t1,6
800000bc: 66666137 lui sp,0x66666
800000c0: 66610113 addi sp,sp,1638 # 66666666 <_start-0x1999999a>
800000c4: 0062e463 bltu t0,t1,800000cc <_start+0xcc>
800000c8: 00000113 li sp,0
800000cc: 0020a023 sw sp,0(ra)
800000d0: 00001097 auipc ra,0x1
800000d4: f4808093 addi ra,ra,-184 # 80001018 <test_B5_res>
800000d8: 00500293 li t0,5
800000dc: 00600313 li t1,6
800000e0: 77777137 lui sp,0x77777
800000e4: 77710113 addi sp,sp,1911 # 77777777 <_start-0x8888889>
800000e8: 00535463 ble t0,t1,800000f0 <_start+0xf0>
800000ec: 00000113 li sp,0
800000f0: 0020a023 sw sp,0(ra)
800000f4: 00001097 auipc ra,0x1
800000f8: f2808093 addi ra,ra,-216 # 8000101c <test_B6_res>
800000fc: 00500293 li t0,5
80000100: 00600313 li t1,6
80000104: 88889137 lui sp,0x88889
80000108: 88810113 addi sp,sp,-1912 # 88888888 <_end+0x8887868>
8000010c: 00537463 bleu t0,t1,80000114 <_start+0x114>
80000110: 00000113 li sp,0
80000114: 0020a023 sw sp,0(ra)
80000118: 00001517 auipc a0,0x1
8000011c: ee850513 addi a0,a0,-280 # 80001000 <codasip_signature_start>
80000120: 00001597 auipc a1,0x1
80000124: f0058593 addi a1,a1,-256 # 80001020 <_end>
80000128: f0100637 lui a2,0xf0100
8000012c: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
80000130 <complience_halt_loop>:
80000130: 02b50663 beq a0,a1,8000015c <complience_halt_break>
80000134: 00c52683 lw a3,12(a0)
80000138: 00d62023 sw a3,0(a2)
8000013c: 00852683 lw a3,8(a0)
80000140: 00d62023 sw a3,0(a2)
80000144: 00452683 lw a3,4(a0)
80000148: 00d62023 sw a3,0(a2)
8000014c: 00052683 lw a3,0(a0)
80000150: 00d62023 sw a3,0(a2)
80000154: 01050513 addi a0,a0,16
80000158: fd9ff06f j 80000130 <complience_halt_loop>
8000015c <complience_halt_break>:
8000015c: f0100537 lui a0,0xf0100
80000160: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
80000164: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004 <test_A2_res>:
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008 <test_B1_res>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_B2_res>:
8000100c: ffff 0xffff
8000100e: ffff 0xffff
80001010 <test_B3_res>:
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014 <test_B4_res>:
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018 <test_B5_res>:
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c <test_B6_res>:
8000101c: ffff 0xffff
8000101e: ffff 0xffff

View file

@ -0,0 +1,69 @@
/home/spinalvm/hdl/riscv-compliance/work//I-EBREAK-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00000097 auipc ra,0x0
80000004: 02c08093 addi ra,ra,44 # 8000002c <_trap_handler>
80000008: 30509ff3 csrrw t6,mtvec,ra
8000000c: 00001097 auipc ra,0x1
80000010: ff408093 addi ra,ra,-12 # 80001000 <codasip_signature_start>
80000014: 11111137 lui sp,0x11111
80000018: 11110113 addi sp,sp,273 # 11111111 <_start-0x6eeeeeef>
8000001c: 00100073 ebreak
80000020: 0000a023 sw zero,0(ra)
80000024: 305f9073 csrw mtvec,t6
80000028: 0280006f j 80000050 <test_end>
8000002c <_trap_handler>:
8000002c: 34102f73 csrr t5,mepc
80000030: 004f0f13 addi t5,t5,4
80000034: 341f1073 csrw mepc,t5
80000038: 34202f73 csrr t5,mcause
8000003c: 01e0a023 sw t5,0(ra)
80000040: 0020a223 sw sp,4(ra)
80000044: 0000a423 sw zero,8(ra)
80000048: 00c08093 addi ra,ra,12
8000004c: 30200073 mret
80000050 <test_end>:
80000050: 00001517 auipc a0,0x1
80000054: fb050513 addi a0,a0,-80 # 80001000 <codasip_signature_start>
80000058: 00001597 auipc a1,0x1
8000005c: fb858593 addi a1,a1,-72 # 80001010 <_end>
80000060: f0100637 lui a2,0xf0100
80000064: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef1c>
80000068 <complience_halt_loop>:
80000068: 02b50663 beq a0,a1,80000094 <complience_halt_break>
8000006c: 00c52683 lw a3,12(a0)
80000070: 00d62023 sw a3,0(a2)
80000074: 00852683 lw a3,8(a0)
80000078: 00d62023 sw a3,0(a2)
8000007c: 00452683 lw a3,4(a0)
80000080: 00d62023 sw a3,0(a2)
80000084: 00052683 lw a3,0(a0)
80000088: 00d62023 sw a3,0(a2)
8000008c: 01050513 addi a0,a0,16
80000090: fd9ff06f j 80000068 <complience_halt_loop>
80000094 <complience_halt_break>:
80000094: f0100537 lui a0,0xf0100
80000098: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef10>
8000009c: 00052023 sw zero,0(a0)
800000a0: 0000 unimp
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff

View file

@ -0,0 +1,69 @@
/home/spinalvm/hdl/riscv-compliance/work//I-ECALL-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00000097 auipc ra,0x0
80000004: 02c08093 addi ra,ra,44 # 8000002c <_trap_handler>
80000008: 30509ff3 csrrw t6,mtvec,ra
8000000c: 00001097 auipc ra,0x1
80000010: ff408093 addi ra,ra,-12 # 80001000 <codasip_signature_start>
80000014: 11111137 lui sp,0x11111
80000018: 11110113 addi sp,sp,273 # 11111111 <_start-0x6eeeeeef>
8000001c: 00000073 ecall
80000020: 0000a023 sw zero,0(ra)
80000024: 305f9073 csrw mtvec,t6
80000028: 0280006f j 80000050 <test_end>
8000002c <_trap_handler>:
8000002c: 34102f73 csrr t5,mepc
80000030: 004f0f13 addi t5,t5,4
80000034: 341f1073 csrw mepc,t5
80000038: 34202f73 csrr t5,mcause
8000003c: 01e0a023 sw t5,0(ra)
80000040: 0020a223 sw sp,4(ra)
80000044: 0000a423 sw zero,8(ra)
80000048: 00c08093 addi ra,ra,12
8000004c: 30200073 mret
80000050 <test_end>:
80000050: 00001517 auipc a0,0x1
80000054: fb050513 addi a0,a0,-80 # 80001000 <codasip_signature_start>
80000058: 00001597 auipc a1,0x1
8000005c: fb858593 addi a1,a1,-72 # 80001010 <_end>
80000060: f0100637 lui a2,0xf0100
80000064: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef1c>
80000068 <complience_halt_loop>:
80000068: 02b50663 beq a0,a1,80000094 <complience_halt_break>
8000006c: 00c52683 lw a3,12(a0)
80000070: 00d62023 sw a3,0(a2)
80000074: 00852683 lw a3,8(a0)
80000078: 00d62023 sw a3,0(a2)
8000007c: 00452683 lw a3,4(a0)
80000080: 00d62023 sw a3,0(a2)
80000084: 00052683 lw a3,0(a0)
80000088: 00d62023 sw a3,0(a2)
8000008c: 01050513 addi a0,a0,16
80000090: fd9ff06f j 80000068 <complience_halt_loop>
80000094 <complience_halt_break>:
80000094: f0100537 lui a0,0xf0100
80000098: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef10>
8000009c: 00052023 sw zero,0(a0)
800000a0: 0000 unimp
...
Disassembly of section .data:
80001000 <codasip_signature_start>:
80001000: ffff 0xffff
80001002: ffff 0xffff
80001004: ffff 0xffff
80001006: ffff 0xffff
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c: ffff 0xffff
8000100e: ffff 0xffff

View file

@ -0,0 +1,80 @@
/home/spinalvm/hdl/riscv-compliance/work//I-ENDIANESS-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001817 auipc a6,0x1
80000004: 00480813 addi a6,a6,4 # 80001004 <test_A_data>
80000008: 00001897 auipc a7,0x1
8000000c: 00888893 addi a7,a7,8 # 80001010 <codasip_signature_start>
80000010: 00082083 lw ra,0(a6)
80000014: 00085103 lhu sp,0(a6)
80000018: 00285183 lhu gp,2(a6)
8000001c: fff84203 lbu tp,-1(a6)
80000020: 00084283 lbu t0,0(a6)
80000024: 00184303 lbu t1,1(a6)
80000028: 00284383 lbu t2,2(a6)
8000002c: 00384403 lbu s0,3(a6)
80000030: 0018a023 sw ra,0(a7)
80000034: 0028a223 sw sp,4(a7)
80000038: 0038a423 sw gp,8(a7)
8000003c: 0048a623 sw tp,12(a7)
80000040: 0058a823 sw t0,16(a7)
80000044: 0068aa23 sw t1,20(a7)
80000048: 0078ac23 sw t2,24(a7)
8000004c: 0088ae23 sw s0,28(a7)
80000050: 00001517 auipc a0,0x1
80000054: fc050513 addi a0,a0,-64 # 80001010 <codasip_signature_start>
80000058: 00001597 auipc a1,0x1
8000005c: fd858593 addi a1,a1,-40 # 80001030 <_end>
80000060: f0100637 lui a2,0xf0100
80000064: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feefc>
80000068 <complience_halt_loop>:
80000068: 02b50663 beq a0,a1,80000094 <complience_halt_break>
8000006c: 00c52683 lw a3,12(a0)
80000070: 00d62023 sw a3,0(a2)
80000074: 00852683 lw a3,8(a0)
80000078: 00d62023 sw a3,0(a2)
8000007c: 00452683 lw a3,4(a0)
80000080: 00d62023 sw a3,0(a2)
80000084: 00052683 lw a3,0(a0)
80000088: 00d62023 sw a3,0(a2)
8000008c: 01050513 addi a0,a0,16
80000090: fd9ff06f j 80000068 <complience_halt_loop>
80000094 <complience_halt_break>:
80000094: f0100537 lui a0,0xf0100
80000098: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feef0>
8000009c: 00052023 sw zero,0(a0)
800000a0: 0000 unimp
...
Disassembly of section .data:
80001000 <test_A_data-0x4>:
80001000: 89abcdef jal s11,7ffbd09a <_start-0x42f66>
80001004 <test_A_data>:
80001004: 01234567 0x1234567
...
80001010 <codasip_signature_start>:
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff

View file

@ -0,0 +1,76 @@
/home/spinalvm/hdl/riscv-compliance/work//I-FENCE.I-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001817 auipc a6,0x1
80000004: 00480813 addi a6,a6,4 # 80001004 <test_A_data>
80000008: 00001897 auipc a7,0x1
8000000c: 00888893 addi a7,a7,8 # 80001010 <codasip_signature_start>
80000010: 00000193 li gp,0
80000014: 00082083 lw ra,0(a6)
80000018: 00482103 lw sp,4(a6)
8000001c: 00001a17 auipc s4,0x1
80000020: fe4a0a13 addi s4,s4,-28 # 80001000 <instr_A_src>
80000024: 00000a97 auipc s5,0x0
80000028: 014a8a93 addi s5,s5,20 # 80000038 <instr_A_dst>
8000002c: 000a2783 lw a5,0(s4)
80000030: 00faa023 sw a5,0(s5)
80000034: 0000100f fence.i
80000038 <instr_A_dst>:
80000038: 00000137 lui sp,0x0
8000003c: 0018a023 sw ra,0(a7)
80000040: 0028a223 sw sp,4(a7)
80000044: 0038a423 sw gp,8(a7)
80000048: 00f8a623 sw a5,12(a7)
8000004c: 00001517 auipc a0,0x1
80000050: fc450513 addi a0,a0,-60 # 80001010 <codasip_signature_start>
80000054: 00001597 auipc a1,0x1
80000058: fcc58593 addi a1,a1,-52 # 80001020 <_end>
8000005c: f0100637 lui a2,0xf0100
80000060: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fef0c>
80000064 <complience_halt_loop>:
80000064: 02b50663 beq a0,a1,80000090 <complience_halt_break>
80000068: 00c52683 lw a3,12(a0)
8000006c: 00d62023 sw a3,0(a2)
80000070: 00852683 lw a3,8(a0)
80000074: 00d62023 sw a3,0(a2)
80000078: 00452683 lw a3,4(a0)
8000007c: 00d62023 sw a3,0(a2)
80000080: 00052683 lw a3,0(a0)
80000084: 00d62023 sw a3,0(a2)
80000088: 01050513 addi a0,a0,16
8000008c: fd9ff06f j 80000064 <complience_halt_loop>
80000090 <complience_halt_break>:
80000090: f0100537 lui a0,0xf0100
80000094: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fef00>
80000098: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <instr_A_src>:
80001000: 001101b3 add gp,sp,ra
80001004 <test_A_data>:
80001004: 0030 addi a2,sp,8
80001006: 0000 unimp
80001008: 0012 c.slli zero,0x4
8000100a: 0000 unimp
8000100c: 0000 unimp
...
80001010 <codasip_signature_start>:
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff

View file

@ -0,0 +1,344 @@
/home/spinalvm/hdl/riscv-compliance/work//I-IO.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 00008093 mv ra,ra
80000008: 00001117 auipc sp,0x1
8000000c: 02810113 addi sp,sp,40 # 80001030 <codasip_signature_start>
80000010: 0000a183 lw gp,0(ra) # 80001000 <test_A1_data>
80000014: 00000213 li tp,0
80000018: 00100293 li t0,1
8000001c: fff00313 li t1,-1
80000020: 800003b7 lui t2,0x80000
80000024: fff38393 addi t2,t2,-1 # 7fffffff <_end+0xffffef1f>
80000028: 80000437 lui s0,0x80000
8000002c: 00418233 add tp,gp,tp
80000030: 005182b3 add t0,gp,t0
80000034: 00618333 add t1,gp,t1
80000038: 007183b3 add t2,gp,t2
8000003c: 00818433 add s0,gp,s0
80000040: 00312023 sw gp,0(sp)
80000044: 00412223 sw tp,4(sp)
80000048: 00512423 sw t0,8(sp)
8000004c: 00612623 sw t1,12(sp)
80000050: 00712823 sw t2,16(sp)
80000054: 00812a23 sw s0,20(sp)
80000058: 00001097 auipc ra,0x1
8000005c: fac08093 addi ra,ra,-84 # 80001004 <test_A2_data>
80000060: 00001117 auipc sp,0x1
80000064: fe810113 addi sp,sp,-24 # 80001048 <test_A2_res>
80000068: 0000a403 lw s0,0(ra)
8000006c: 00000493 li s1,0
80000070: 00100513 li a0,1
80000074: fff00593 li a1,-1
80000078: 80000637 lui a2,0x80000
8000007c: fff60613 addi a2,a2,-1 # 7fffffff <_end+0xffffef1f>
80000080: 800006b7 lui a3,0x80000
80000084: 009404b3 add s1,s0,s1
80000088: 00a40533 add a0,s0,a0
8000008c: 00b405b3 add a1,s0,a1
80000090: 00c40633 add a2,s0,a2
80000094: 00d406b3 add a3,s0,a3
80000098: 00812023 sw s0,0(sp)
8000009c: 00912223 sw s1,4(sp)
800000a0: 00a12423 sw a0,8(sp)
800000a4: 00b12623 sw a1,12(sp)
800000a8: 00c12823 sw a2,16(sp)
800000ac: 00d12a23 sw a3,20(sp)
800000b0: 00001097 auipc ra,0x1
800000b4: f5808093 addi ra,ra,-168 # 80001008 <test_A3_data>
800000b8: 00001117 auipc sp,0x1
800000bc: fa810113 addi sp,sp,-88 # 80001060 <test_A3_res>
800000c0: 0000a683 lw a3,0(ra)
800000c4: 00000713 li a4,0
800000c8: 00100793 li a5,1
800000cc: fff00813 li a6,-1
800000d0: 800008b7 lui a7,0x80000
800000d4: fff88893 addi a7,a7,-1 # 7fffffff <_end+0xffffef1f>
800000d8: 80000937 lui s2,0x80000
800000dc: 00e68733 add a4,a3,a4
800000e0: 00f687b3 add a5,a3,a5
800000e4: 01068833 add a6,a3,a6
800000e8: 011688b3 add a7,a3,a7
800000ec: 01268933 add s2,a3,s2
800000f0: 00d12023 sw a3,0(sp)
800000f4: 00e12223 sw a4,4(sp)
800000f8: 00f12423 sw a5,8(sp)
800000fc: 01012623 sw a6,12(sp)
80000100: 01112823 sw a7,16(sp)
80000104: 01212a23 sw s2,20(sp)
80000108: 00001097 auipc ra,0x1
8000010c: f0408093 addi ra,ra,-252 # 8000100c <test_A4_data>
80000110: 00001117 auipc sp,0x1
80000114: f6810113 addi sp,sp,-152 # 80001078 <test_A4_res>
80000118: 0000a903 lw s2,0(ra)
8000011c: 00000993 li s3,0
80000120: 00100a13 li s4,1
80000124: fff00a93 li s5,-1
80000128: 80000b37 lui s6,0x80000
8000012c: fffb0b13 addi s6,s6,-1 # 7fffffff <_end+0xffffef1f>
80000130: 80000bb7 lui s7,0x80000
80000134: 013909b3 add s3,s2,s3
80000138: 01490a33 add s4,s2,s4
8000013c: 01590ab3 add s5,s2,s5
80000140: 01690b33 add s6,s2,s6
80000144: 01790bb3 add s7,s2,s7
80000148: 01212023 sw s2,0(sp)
8000014c: 01312223 sw s3,4(sp)
80000150: 01412423 sw s4,8(sp)
80000154: 01512623 sw s5,12(sp)
80000158: 01612823 sw s6,16(sp)
8000015c: 01712a23 sw s7,20(sp)
80000160: 00001097 auipc ra,0x1
80000164: eb008093 addi ra,ra,-336 # 80001010 <test_A5_data>
80000168: 00001117 auipc sp,0x1
8000016c: f2810113 addi sp,sp,-216 # 80001090 <test_A5_res>
80000170: 0000ab83 lw s7,0(ra)
80000174: 00000c13 li s8,0
80000178: 00100c93 li s9,1
8000017c: fff00d13 li s10,-1
80000180: 80000db7 lui s11,0x80000
80000184: fffd8d93 addi s11,s11,-1 # 7fffffff <_end+0xffffef1f>
80000188: 80000e37 lui t3,0x80000
8000018c: 018b8c33 add s8,s7,s8
80000190: 019b8cb3 add s9,s7,s9
80000194: 01ab8d33 add s10,s7,s10
80000198: 01bb8db3 add s11,s7,s11
8000019c: 01cb8e33 add t3,s7,t3
800001a0: 01712023 sw s7,0(sp)
800001a4: 01812223 sw s8,4(sp)
800001a8: 01912423 sw s9,8(sp)
800001ac: 01a12623 sw s10,12(sp)
800001b0: 01b12823 sw s11,16(sp)
800001b4: 01c12a23 sw t3,20(sp)
800001b8: 00001c97 auipc s9,0x1
800001bc: e5cc8c93 addi s9,s9,-420 # 80001014 <test_B_data>
800001c0: 00001d17 auipc s10,0x1
800001c4: ee8d0d13 addi s10,s10,-280 # 800010a8 <test_B_res>
800001c8: 000cae03 lw t3,0(s9)
800001cc: 00100d93 li s11,1
800001d0: 01be0eb3 add t4,t3,s11
800001d4: 01be8f33 add t5,t4,s11
800001d8: 01bf0fb3 add t6,t5,s11
800001dc: 01bf80b3 add ra,t6,s11
800001e0: 01b08133 add sp,ra,s11
800001e4: 01b101b3 add gp,sp,s11
800001e8: 01bd2023 sw s11,0(s10)
800001ec: 01cd2223 sw t3,4(s10)
800001f0: 01dd2423 sw t4,8(s10)
800001f4: 01ed2623 sw t5,12(s10)
800001f8: 01fd2823 sw t6,16(s10)
800001fc: 001d2a23 sw ra,20(s10)
80000200: 002d2c23 sw sp,24(s10)
80000204: 003d2e23 sw gp,28(s10)
80000208: 00001097 auipc ra,0x1
8000020c: e1008093 addi ra,ra,-496 # 80001018 <test_C_data>
80000210: 00001117 auipc sp,0x1
80000214: eb810113 addi sp,sp,-328 # 800010c8 <test_C_res>
80000218: 0000ae03 lw t3,0(ra)
8000021c: f7ff9db7 lui s11,0xf7ff9
80000220: 818d8d93 addi s11,s11,-2024 # f7ff8818 <_end+0x77ff7738>
80000224: 01be0033 add zero,t3,s11
80000228: 00012023 sw zero,0(sp)
8000022c: 00001097 auipc ra,0x1
80000230: df008093 addi ra,ra,-528 # 8000101c <test_D_data>
80000234: 00001117 auipc sp,0x1
80000238: e9810113 addi sp,sp,-360 # 800010cc <test_D_res>
8000023c: 0000ae03 lw t3,0(ra)
80000240: f7ff9db7 lui s11,0xf7ff9
80000244: 818d8d93 addi s11,s11,-2024 # f7ff8818 <_end+0x77ff7738>
80000248: 01be0033 add zero,t3,s11
8000024c: 000002b3 add t0,zero,zero
80000250: 00012023 sw zero,0(sp)
80000254: 00512223 sw t0,4(sp)
80000258: 00001097 auipc ra,0x1
8000025c: dc808093 addi ra,ra,-568 # 80001020 <test_E_data>
80000260: 00001117 auipc sp,0x1
80000264: e7410113 addi sp,sp,-396 # 800010d4 <test_E_res>
80000268: 0000a183 lw gp,0(ra)
8000026c: 00018233 add tp,gp,zero
80000270: 000202b3 add t0,tp,zero
80000274: 00500333 add t1,zero,t0
80000278: 00030733 add a4,t1,zero
8000027c: 000707b3 add a5,a4,zero
80000280: 00078833 add a6,a5,zero
80000284: 01000cb3 add s9,zero,a6
80000288: 01900d33 add s10,zero,s9
8000028c: 000d0db3 add s11,s10,zero
80000290: 00412023 sw tp,0(sp)
80000294: 01a12223 sw s10,4(sp)
80000298: 01b12423 sw s11,8(sp)
8000029c: 00001517 auipc a0,0x1
800002a0: d9450513 addi a0,a0,-620 # 80001030 <codasip_signature_start>
800002a4: 00001597 auipc a1,0x1
800002a8: e3c58593 addi a1,a1,-452 # 800010e0 <_end>
800002ac: f0100637 lui a2,0xf0100
800002b0: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee4c>
800002b4 <complience_halt_loop>:
800002b4: 02b50663 beq a0,a1,800002e0 <complience_halt_break>
800002b8: 00c52683 lw a3,12(a0)
800002bc: 00d62023 sw a3,0(a2)
800002c0: 00852683 lw a3,8(a0)
800002c4: 00d62023 sw a3,0(a2)
800002c8: 00452683 lw a3,4(a0)
800002cc: 00d62023 sw a3,0(a2)
800002d0: 00052683 lw a3,0(a0)
800002d4: 00d62023 sw a3,0(a2)
800002d8: 01050513 addi a0,a0,16
800002dc: fd9ff06f j 800002b4 <complience_halt_loop>
800002e0 <complience_halt_break>:
800002e0: f0100537 lui a0,0xf0100
800002e4: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee40>
800002e8: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: 0000 unimp
...
80001004 <test_A2_data>:
80001004: 0001 nop
...
80001008 <test_A3_data>:
80001008: ffff 0xffff
8000100a: ffff 0xffff
8000100c <test_A4_data>:
8000100c: ffff 0xffff
8000100e: 7fff 0x7fff
80001010 <test_A5_data>:
80001010: 0000 unimp
80001012: 8000 0x8000
80001014 <test_B_data>:
80001014: abcd j 80001606 <_end+0x526>
...
80001018 <test_C_data>:
80001018: 5678 lw a4,108(a2)
8000101a: 1234 addi a3,sp,296
8000101c <test_D_data>:
8000101c: ba98 fsd fa4,48(a3)
8000101e: fedc fsw fa5,60(a3)
80001020 <test_E_data>:
80001020: 5814 lw a3,48(s0)
80001022: 3692 fld fa3,288(sp)
...
80001030 <codasip_signature_start>:
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048 <test_A2_res>:
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060 <test_A3_res>:
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078 <test_A4_res>:
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_A5_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8 <test_B_res>:
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff
800010c0: ffff 0xffff
800010c2: ffff 0xffff
800010c4: ffff 0xffff
800010c6: ffff 0xffff
800010c8 <test_C_res>:
800010c8: ffff 0xffff
800010ca: ffff 0xffff
800010cc <test_D_res>:
800010cc: ffff 0xffff
800010ce: ffff 0xffff
800010d0: ffff 0xffff
800010d2: ffff 0xffff
800010d4 <test_E_res>:
800010d4: ffff 0xffff
800010d6: ffff 0xffff
800010d8: ffff 0xffff
800010da: ffff 0xffff
800010dc: ffff 0xffff
800010de: ffff 0xffff

View file

@ -0,0 +1,227 @@
/home/spinalvm/hdl/riscv-compliance/work//I-JAL-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 01008093 addi ra,ra,16 # 80001010 <codasip_signature_start>
80000008: 12345137 lui sp,0x12345
8000000c: 67810113 addi sp,sp,1656 # 12345678 <_start-0x6dcba988>
80000010: 0080006f j 80000018 <_start+0x18>
80000014: 00000113 li sp,0
80000018: 0000a023 sw zero,0(ra)
8000001c: 0020a223 sw sp,4(ra)
80000020: 00001097 auipc ra,0x1
80000024: ff808093 addi ra,ra,-8 # 80001018 <test_A2_res>
80000028: fff00113 li sp,-1
8000002c: fff00193 li gp,-1
80000030: 0fedd237 lui tp,0xfedd
80000034: ba920213 addi tp,tp,-1111 # fedcba9 <_start-0x70123457>
80000038: 0280006f j 80000060 <_start+0x60>
8000003c: 00000113 li sp,0
80000040: 00000193 li gp,0
80000044: 00000213 li tp,0
80000048: 876541b7 lui gp,0x87654
8000004c: 32118193 addi gp,gp,801 # 87654321 <_end+0x76532c1>
80000050: 0280006f j 80000078 <_start+0x78>
80000054: 00000113 li sp,0
80000058: 00000193 li gp,0
8000005c: 00000213 li tp,0
80000060: 9abce137 lui sp,0x9abce
80000064: ef010113 addi sp,sp,-272 # 9abcdef0 <_end+0x1abcce90>
80000068: fe1ff06f j 80000048 <_start+0x48>
8000006c: 00000113 li sp,0
80000070: 00000193 li gp,0
80000074: 00000213 li tp,0
80000078: 0000a023 sw zero,0(ra)
8000007c: 0020a223 sw sp,4(ra)
80000080: 0030a423 sw gp,8(ra)
80000084: 0040a623 sw tp,12(ra)
80000088: 00001497 auipc s1,0x1
8000008c: f7848493 addi s1,s1,-136 # 80001000 <test_B1_data>
80000090: 00001517 auipc a0,0x1
80000094: f9850513 addi a0,a0,-104 # 80001028 <test_B1_res>
80000098: fff00113 li sp,-1
8000009c: fff00193 li gp,-1
800000a0: fff00213 li tp,-1
800000a4: fff00293 li t0,-1
800000a8: 55555337 lui t1,0x55555
800000ac: 55530313 addi t1,t1,1365 # 55555555 <_start-0x2aaaaaab>
800000b0: 0004ac83 lw s9,0(s1)
800000b4: 0044ac03 lw s8,4(s1)
800000b8: 01c000ef jal ra,800000d4 <B1b_link+0xc>
800000bc <B1a_link>:
800000bc: 222221b7 lui gp,0x22222
800000c0: 22218193 addi gp,gp,546 # 22222222 <_start-0x5dddddde>
800000c4: 03000fef jal t6,800000f4 <B1b_link+0x2c>
800000c8 <B1b_link>:
800000c8: 444442b7 lui t0,0x44444
800000cc: 44428293 addi t0,t0,1092 # 44444444 <_start-0x3bbbbbbc>
800000d0: 0440006f j 80000114 <B1b_link+0x4c>
800000d4: 11111137 lui sp,0x11111
800000d8: 11110113 addi sp,sp,273 # 11111111 <_start-0x6eeeeeef>
800000dc: 00008067 ret
800000e0: 00000113 li sp,0
800000e4: 00000193 li gp,0
800000e8: 00000213 li tp,0
800000ec: 00000293 li t0,0
800000f0: 00000313 li t1,0
800000f4: 33333237 lui tp,0x33333
800000f8: 33320213 addi tp,tp,819 # 33333333 <_start-0x4ccccccd>
800000fc: 000f8067 jr t6
80000100: 00000113 li sp,0
80000104: 00000193 li gp,0
80000108: 00000213 li tp,0
8000010c: 00000293 li t0,0
80000110: 00000313 li t1,0
80000114: 0190c3b3 xor t2,ra,s9
80000118: 018fc433 xor s0,t6,s8
8000011c: 00252023 sw sp,0(a0)
80000120: 00352223 sw gp,4(a0)
80000124: 00452423 sw tp,8(a0)
80000128: 00552623 sw t0,12(a0)
8000012c: 00652823 sw t1,16(a0)
80000130: 00752a23 sw t2,20(a0)
80000134: 00852c23 sw s0,24(a0)
80000138: 00001497 auipc s1,0x1
8000013c: ed048493 addi s1,s1,-304 # 80001008 <test_B2_data>
80000140: 00001517 auipc a0,0x1
80000144: f0450513 addi a0,a0,-252 # 80001044 <test_B2_res>
80000148: fff00113 li sp,-1
8000014c: fff00193 li gp,-1
80000150: fff00213 li tp,-1
80000154: fff00293 li t0,-1
80000158: fff00313 li t1,-1
8000015c: 0004ac03 lw s8,0(s1)
80000160: 0044ac83 lw s9,4(s1)
80000164: 0240006f j 80000188 <B1b_link+0xc0>
80000168: 777771b7 lui gp,0x77777
8000016c: 77718193 addi gp,gp,1911 # 77777777 <_start-0x8888889>
80000170: 000f8067 jr t6
80000174: 00000113 li sp,0
80000178: 00000193 li gp,0
8000017c: 00000213 li tp,0
80000180: 00000293 li t0,0
80000184: 00000313 li t1,0
80000188: 66666137 lui sp,0x66666
8000018c: 66610113 addi sp,sp,1638 # 66666666 <_start-0x1999999a>
80000190: fd9fffef jal t6,80000168 <B1b_link+0xa0>
80000194 <B2b_link>:
80000194: 88889237 lui tp,0x88889
80000198: 88820213 addi tp,tp,-1912 # 88888888 <_end+0x8887828>
8000019c: 010000ef jal ra,800001ac <B2c_link+0xc>
800001a0 <B2c_link>:
800001a0: aaaab337 lui t1,0xaaaab
800001a4: aaa30313 addi t1,t1,-1366 # aaaaaaaa <_end+0x2aaa9a4a>
800001a8: 0240006f j 800001cc <B2c_link+0x2c>
800001ac: 9999a2b7 lui t0,0x9999a
800001b0: 99928293 addi t0,t0,-1639 # 99999999 <_end+0x19998939>
800001b4: 00008067 ret
800001b8: 00000113 li sp,0
800001bc: 00000193 li gp,0
800001c0: 00000213 li tp,0
800001c4: 00000293 li t0,0
800001c8: 00000313 li t1,0
800001cc: 018fc3b3 xor t2,t6,s8
800001d0: 0190c433 xor s0,ra,s9
800001d4: 00252023 sw sp,0(a0)
800001d8: 00352223 sw gp,4(a0)
800001dc: 00452423 sw tp,8(a0)
800001e0: 00552623 sw t0,12(a0)
800001e4: 00652823 sw t1,16(a0)
800001e8: 00752a23 sw t2,20(a0)
800001ec: 00852c23 sw s0,24(a0)
800001f0: 00001517 auipc a0,0x1
800001f4: e2050513 addi a0,a0,-480 # 80001010 <codasip_signature_start>
800001f8: 00001597 auipc a1,0x1
800001fc: e6858593 addi a1,a1,-408 # 80001060 <_end>
80000200: f0100637 lui a2,0xf0100
80000204: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feecc>
80000208 <complience_halt_loop>:
80000208: 02b50663 beq a0,a1,80000234 <complience_halt_break>
8000020c: 00c52683 lw a3,12(a0)
80000210: 00d62023 sw a3,0(a2)
80000214: 00852683 lw a3,8(a0)
80000218: 00d62023 sw a3,0(a2)
8000021c: 00452683 lw a3,4(a0)
80000220: 00d62023 sw a3,0(a2)
80000224: 00052683 lw a3,0(a0)
80000228: 00d62023 sw a3,0(a2)
8000022c: 01050513 addi a0,a0,16
80000230: fd9ff06f j 80000208 <complience_halt_loop>
80000234 <complience_halt_break>:
80000234: f0100537 lui a0,0xf0100
80000238: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feec0>
8000023c: 00052023 sw zero,0(a0)
80000240: 0000 unimp
...
Disassembly of section .data:
80001000 <test_B1_data>:
80001000: 00bc addi a5,sp,72
80001002: 8000 0x8000
80001004: 00c8 addi a0,sp,68
80001006: 8000 0x8000
80001008 <test_B2_data>:
80001008: 0194 addi a3,sp,192
8000100a: 8000 0x8000
8000100c: 01a0 addi s0,sp,200
8000100e: 8000 0x8000
80001010 <codasip_signature_start>:
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018 <test_A2_res>:
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_B1_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044 <test_B2_res>:
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff

View file

@ -0,0 +1,289 @@
/home/spinalvm/hdl/riscv-compliance/work//I-JALR-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001097 auipc ra,0x1
80000004: 01008093 addi ra,ra,16 # 80001010 <codasip_signature_start>
80000008: 12345137 lui sp,0x12345
8000000c: 67810113 addi sp,sp,1656 # 12345678 <_start-0x6dcba988>
80000010: 00000197 auipc gp,0x0
80000014: 01018193 addi gp,gp,16 # 80000020 <_start+0x20>
80000018: 00018067 jr gp
8000001c: 00000113 li sp,0
80000020: 0000a023 sw zero,0(ra)
80000024: 0020a223 sw sp,4(ra)
80000028: 00001097 auipc ra,0x1
8000002c: ff008093 addi ra,ra,-16 # 80001018 <test_A2_res>
80000030: fff00113 li sp,-1
80000034: fff00193 li gp,-1
80000038: 0fedd237 lui tp,0xfedd
8000003c: ba920213 addi tp,tp,-1111 # fedcba9 <_start-0x70123457>
80000040: 00000f97 auipc t6,0x0
80000044: 038f8f93 addi t6,t6,56 # 80000078 <_start+0x78>
80000048: 000f8067 jr t6
8000004c: 00000113 li sp,0
80000050: 00000193 li gp,0
80000054: 00000213 li tp,0
80000058: 876541b7 lui gp,0x87654
8000005c: 32118193 addi gp,gp,801 # 87654321 <_end+0x76532b1>
80000060: 00000297 auipc t0,0x0
80000064: 03828293 addi t0,t0,56 # 80000098 <_start+0x98>
80000068: 00028067 jr t0
8000006c: 00000113 li sp,0
80000070: 00000193 li gp,0
80000074: 00000213 li tp,0
80000078: 9abce137 lui sp,0x9abce
8000007c: ef010113 addi sp,sp,-272 # 9abcdef0 <_end+0x1abcce80>
80000080: 00000797 auipc a5,0x0
80000084: fd878793 addi a5,a5,-40 # 80000058 <_start+0x58>
80000088: 00078067 jr a5
8000008c: 00000113 li sp,0
80000090: 00000193 li gp,0
80000094: 00000213 li tp,0
80000098: 0000a023 sw zero,0(ra)
8000009c: 0020a223 sw sp,4(ra)
800000a0: 0030a423 sw gp,8(ra)
800000a4: 0040a623 sw tp,12(ra)
800000a8: 00001497 auipc s1,0x1
800000ac: f5848493 addi s1,s1,-168 # 80001000 <test_B1_data>
800000b0: 00001517 auipc a0,0x1
800000b4: f7850513 addi a0,a0,-136 # 80001028 <test_B1_res>
800000b8: fff00113 li sp,-1
800000bc: fff00193 li gp,-1
800000c0: fff00213 li tp,-1
800000c4: fff00293 li t0,-1
800000c8: 55555337 lui t1,0x55555
800000cc: 55530313 addi t1,t1,1365 # 55555555 <_start-0x2aaaaaab>
800000d0: 0004ac83 lw s9,0(s1)
800000d4: 0044ac03 lw s8,4(s1)
800000d8: 00000397 auipc t2,0x0
800000dc: 03438393 addi t2,t2,52 # 8000010c <B1b_link+0x14>
800000e0: 000380e7 jalr t2
800000e4 <B1a_link>:
800000e4: 222221b7 lui gp,0x22222
800000e8: 22218193 addi gp,gp,546 # 22222222 <_start-0x5dddddde>
800000ec: 00000417 auipc s0,0x0
800000f0: 04040413 addi s0,s0,64 # 8000012c <B1b_link+0x34>
800000f4: 00040fe7 jalr t6,s0
800000f8 <B1b_link>:
800000f8: 444442b7 lui t0,0x44444
800000fc: 44428293 addi t0,t0,1092 # 44444444 <_start-0x3bbbbbbc>
80000100: 00000f17 auipc t5,0x0
80000104: 04cf0f13 addi t5,t5,76 # 8000014c <B1b_link+0x54>
80000108: 000f0067 jr t5
8000010c: 11111137 lui sp,0x11111
80000110: 11110113 addi sp,sp,273 # 11111111 <_start-0x6eeeeeef>
80000114: 00008067 ret
80000118: 00000113 li sp,0
8000011c: 00000193 li gp,0
80000120: 00000213 li tp,0
80000124: 00000293 li t0,0
80000128: 00000313 li t1,0
8000012c: 33333237 lui tp,0x33333
80000130: 33320213 addi tp,tp,819 # 33333333 <_start-0x4ccccccd>
80000134: 000f8067 jr t6
80000138: 00000113 li sp,0
8000013c: 00000193 li gp,0
80000140: 00000213 li tp,0
80000144: 00000293 li t0,0
80000148: 00000313 li t1,0
8000014c: 0190c3b3 xor t2,ra,s9
80000150: 018fc433 xor s0,t6,s8
80000154: 00252023 sw sp,0(a0)
80000158: 00352223 sw gp,4(a0)
8000015c: 00452423 sw tp,8(a0)
80000160: 00552623 sw t0,12(a0)
80000164: 00652823 sw t1,16(a0)
80000168: 00752a23 sw t2,20(a0)
8000016c: 00852c23 sw s0,24(a0)
80000170: 00001497 auipc s1,0x1
80000174: e9848493 addi s1,s1,-360 # 80001008 <test_B2_data>
80000178: 00001517 auipc a0,0x1
8000017c: ecc50513 addi a0,a0,-308 # 80001044 <test_B2_res>
80000180: fff00113 li sp,-1
80000184: fff00193 li gp,-1
80000188: fff00213 li tp,-1
8000018c: fff00293 li t0,-1
80000190: fff00313 li t1,-1
80000194: 0004ac03 lw s8,0(s1)
80000198: 0044ac83 lw s9,4(s1)
8000019c: 00000797 auipc a5,0x0
800001a0: 02c78793 addi a5,a5,44 # 800001c8 <B1b_link+0xd0>
800001a4: 00078067 jr a5
800001a8: 777771b7 lui gp,0x77777
800001ac: 77718193 addi gp,gp,1911 # 77777777 <_start-0x8888889>
800001b0: 001f8067 jr 1(t6)
800001b4: 00000113 li sp,0
800001b8: 00000193 li gp,0
800001bc: 00000213 li tp,0
800001c0: 00000293 li t0,0
800001c4: 00000313 li t1,0
800001c8: 66666137 lui sp,0x66666
800001cc: 66610113 addi sp,sp,1638 # 66666666 <_start-0x1999999a>
800001d0: 00000f97 auipc t6,0x0
800001d4: fd9f8f93 addi t6,t6,-39 # 800001a9 <B1b_link+0xb1>
800001d8: 000f8fe7 jalr t6,t6
800001dc <B2b_link>:
800001dc: 88889237 lui tp,0x88889
800001e0: 88820213 addi tp,tp,-1912 # 88888888 <_end+0x8887818>
800001e4: 00000097 auipc ra,0x0
800001e8: 02108093 addi ra,ra,33 # 80000205 <B2c_link+0x15>
800001ec: 000080e7 jalr ra
800001f0 <B2c_link>:
800001f0: aaaab337 lui t1,0xaaaab
800001f4: aaa30313 addi t1,t1,-1366 # aaaaaaaa <_end+0x2aaa9a3a>
800001f8: 00000f17 auipc t5,0x0
800001fc: 02cf0f13 addi t5,t5,44 # 80000224 <B2c_link+0x34>
80000200: 000f0067 jr t5
80000204: 9999a2b7 lui t0,0x9999a
80000208: 99928293 addi t0,t0,-1639 # 99999999 <_end+0x19998929>
8000020c: 00108067 jr 1(ra)
80000210: 00000113 li sp,0
80000214: 00000193 li gp,0
80000218: 00000213 li tp,0
8000021c: 00000293 li t0,0
80000220: 00000313 li t1,0
80000224: 018fc3b3 xor t2,t6,s8
80000228: 0190c433 xor s0,ra,s9
8000022c: 00252023 sw sp,0(a0)
80000230: 00352223 sw gp,4(a0)
80000234: 00452423 sw tp,8(a0)
80000238: 00552623 sw t0,12(a0)
8000023c: 00652823 sw t1,16(a0)
80000240: 00752a23 sw t2,20(a0)
80000244: 00852c23 sw s0,24(a0)
80000248: 00001097 auipc ra,0x1
8000024c: e1808093 addi ra,ra,-488 # 80001060 <test_C_res>
80000250: 11111237 lui tp,0x11111
80000254: 11120213 addi tp,tp,273 # 11111111 <_start-0x6eeeeeef>
80000258: 00000197 auipc gp,0x0
8000025c: 00f18193 addi gp,gp,15 # 80000267 <B2c_link+0x77>
80000260: 00118067 jr 1(gp)
80000264: 00000213 li tp,0
80000268: 222222b7 lui t0,0x22222
8000026c: 22228293 addi t0,t0,546 # 22222222 <_start-0x5dddddde>
80000270: 00000197 auipc gp,0x0
80000274: 01118193 addi gp,gp,17 # 80000281 <B2c_link+0x91>
80000278: fff18067 jr -1(gp)
8000027c: 00000293 li t0,0
80000280: 33333337 lui t1,0x33333
80000284: 33330313 addi t1,t1,819 # 33333333 <_start-0x4ccccccd>
80000288: 00000197 auipc gp,0x0
8000028c: 81118193 addi gp,gp,-2031 # 7ffffa99 <_start-0x567>
80000290: 7ff18067 jr 2047(gp)
80000294: 00000313 li t1,0
80000298: 444443b7 lui t2,0x44444
8000029c: 44438393 addi t2,t2,1092 # 44444444 <_start-0x3bbbbbbc>
800002a0: 00001197 auipc gp,0x1
800002a4: 81018193 addi gp,gp,-2032 # 80000ab0 <complience_halt_break+0x7ac>
800002a8: 80018067 jr -2048(gp)
800002ac: 00000393 li t2,0
800002b0: 0040a023 sw tp,0(ra)
800002b4: 0050a223 sw t0,4(ra)
800002b8: 0060a423 sw t1,8(ra)
800002bc: 0070a623 sw t2,12(ra)
800002c0: 00001517 auipc a0,0x1
800002c4: d5050513 addi a0,a0,-688 # 80001010 <codasip_signature_start>
800002c8: 00001597 auipc a1,0x1
800002cc: da858593 addi a1,a1,-600 # 80001070 <_end>
800002d0: f0100637 lui a2,0xf0100
800002d4: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700feebc>
800002d8 <complience_halt_loop>:
800002d8: 02b50663 beq a0,a1,80000304 <complience_halt_break>
800002dc: 00c52683 lw a3,12(a0)
800002e0: 00d62023 sw a3,0(a2)
800002e4: 00852683 lw a3,8(a0)
800002e8: 00d62023 sw a3,0(a2)
800002ec: 00452683 lw a3,4(a0)
800002f0: 00d62023 sw a3,0(a2)
800002f4: 00052683 lw a3,0(a0)
800002f8: 00d62023 sw a3,0(a2)
800002fc: 01050513 addi a0,a0,16
80000300: fd9ff06f j 800002d8 <complience_halt_loop>
80000304 <complience_halt_break>:
80000304: f0100537 lui a0,0xf0100
80000308: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700feeb0>
8000030c: 00052023 sw zero,0(a0)
80000310: 0000 unimp
...
Disassembly of section .data:
80001000 <test_B1_data>:
80001000: 00e4 addi s1,sp,76
80001002: 8000 0x8000
80001004: 00f8 addi a4,sp,76
80001006: 8000 0x8000
80001008 <test_B2_data>:
80001008: 01dc addi a5,sp,196
8000100a: 8000 0x8000
8000100c: 01f0 addi a2,sp,204
8000100e: 8000 0x8000
80001010 <codasip_signature_start>:
80001010: ffff 0xffff
80001012: ffff 0xffff
80001014: ffff 0xffff
80001016: ffff 0xffff
80001018 <test_A2_res>:
80001018: ffff 0xffff
8000101a: ffff 0xffff
8000101c: ffff 0xffff
8000101e: ffff 0xffff
80001020: ffff 0xffff
80001022: ffff 0xffff
80001024: ffff 0xffff
80001026: ffff 0xffff
80001028 <test_B1_res>:
80001028: ffff 0xffff
8000102a: ffff 0xffff
8000102c: ffff 0xffff
8000102e: ffff 0xffff
80001030: ffff 0xffff
80001032: ffff 0xffff
80001034: ffff 0xffff
80001036: ffff 0xffff
80001038: ffff 0xffff
8000103a: ffff 0xffff
8000103c: ffff 0xffff
8000103e: ffff 0xffff
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044 <test_B2_res>:
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060 <test_C_res>:
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff

View file

@ -0,0 +1,289 @@
/home/spinalvm/hdl/riscv-compliance/work//I-LB-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001f97 auipc t6,0x1
80000004: 000f8f93 mv t6,t6
80000008: 00001117 auipc sp,0x1
8000000c: 03810113 addi sp,sp,56 # 80001040 <codasip_signature_start>
80000010: 000f8183 lb gp,0(t6) # 80001000 <test_A1_data>
80000014: 001f8203 lb tp,1(t6)
80000018: 002f8283 lb t0,2(t6)
8000001c: 003f8303 lb t1,3(t6)
80000020: 00312023 sw gp,0(sp)
80000024: 00412223 sw tp,4(sp)
80000028: 00512423 sw t0,8(sp)
8000002c: 00612623 sw t1,12(sp)
80000030: 00001c17 auipc s8,0x1
80000034: fd5c0c13 addi s8,s8,-43 # 80001005 <test_A2_data+0x1>
80000038: 00001297 auipc t0,0x1
8000003c: 01828293 addi t0,t0,24 # 80001050 <test_A2_res>
80000040: fffc0c83 lb s9,-1(s8)
80000044: 000c0d03 lb s10,0(s8)
80000048: 001c0d83 lb s11,1(s8)
8000004c: 002c0e03 lb t3,2(s8)
80000050: 0192a023 sw s9,0(t0)
80000054: 01a2a223 sw s10,4(t0)
80000058: 01b2a423 sw s11,8(t0)
8000005c: 01c2a623 sw t3,12(t0)
80000060: 00001397 auipc t2,0x1
80000064: fa738393 addi t2,t2,-89 # 80001007 <test_A2_data+0x3>
80000068: 00001417 auipc s0,0x1
8000006c: ff840413 addi s0,s0,-8 # 80001060 <test_A3_res>
80000070: 00138f03 lb t5,1(t2)
80000074: 00238f83 lb t6,2(t2)
80000078: 00338083 lb ra,3(t2)
8000007c: 00438103 lb sp,4(t2)
80000080: 01e42023 sw t5,0(s0)
80000084: 01f42223 sw t6,4(s0)
80000088: 00142423 sw ra,8(s0)
8000008c: 00242623 sw sp,12(s0)
80000090: 00001517 auipc a0,0x1
80000094: 77c50513 addi a0,a0,1916 # 8000180c <_end+0x73c>
80000098: 00001597 auipc a1,0x1
8000009c: fd858593 addi a1,a1,-40 # 80001070 <test_A4_res>
800000a0: 80050603 lb a2,-2048(a0)
800000a4: 80150683 lb a3,-2047(a0)
800000a8: 80250703 lb a4,-2046(a0)
800000ac: 80350783 lb a5,-2045(a0)
800000b0: 00c5a023 sw a2,0(a1)
800000b4: 00d5a223 sw a3,4(a1)
800000b8: 00e5a423 sw a4,8(a1)
800000bc: 00f5a623 sw a5,12(a1)
800000c0: 00000697 auipc a3,0x0
800000c4: 75468693 addi a3,a3,1876 # 80000814 <complience_halt_break+0x608>
800000c8: 00001717 auipc a4,0x1
800000cc: fb870713 addi a4,a4,-72 # 80001080 <test_A5_res>
800000d0: 7fc68783 lb a5,2044(a3)
800000d4: 7fd68803 lb a6,2045(a3)
800000d8: 7fe68883 lb a7,2046(a3)
800000dc: 7ff68903 lb s2,2047(a3)
800000e0: 00f72023 sw a5,0(a4)
800000e4: 01072223 sw a6,4(a4)
800000e8: 01172423 sw a7,8(a4)
800000ec: 01272623 sw s2,12(a4)
800000f0: 00001817 auipc a6,0x1
800000f4: f2880813 addi a6,a6,-216 # 80001018 <test_B_data>
800000f8: 00001897 auipc a7,0x1
800000fc: f9888893 addi a7,a7,-104 # 80001090 <test_B_res>
80000100: ffc80903 lb s2,-4(a6)
80000104: ffd80983 lb s3,-3(a6)
80000108: ffe80a03 lb s4,-2(a6)
8000010c: fff80a83 lb s5,-1(a6)
80000110: 00080b03 lb s6,0(a6)
80000114: 00180b83 lb s7,1(a6)
80000118: 00280c03 lb s8,2(a6)
8000011c: 00380c83 lb s9,3(a6)
80000120: 00480d03 lb s10,4(a6)
80000124: 00580d83 lb s11,5(a6)
80000128: 00680e03 lb t3,6(a6)
8000012c: 00780e83 lb t4,7(a6)
80000130: 0128a023 sw s2,0(a7)
80000134: 0138a223 sw s3,4(a7)
80000138: 0148a423 sw s4,8(a7)
8000013c: 0158a623 sw s5,12(a7)
80000140: 0168a823 sw s6,16(a7)
80000144: 0178aa23 sw s7,20(a7)
80000148: 0188ac23 sw s8,24(a7)
8000014c: 0198ae23 sw s9,28(a7)
80000150: 03a8a023 sw s10,32(a7)
80000154: 03b8a223 sw s11,36(a7)
80000158: 03c8a423 sw t3,40(a7)
8000015c: 03d8a623 sw t4,44(a7)
80000160: 00001a97 auipc s5,0x1
80000164: ec0a8a93 addi s5,s5,-320 # 80001020 <test_C_data>
80000168: 00001b17 auipc s6,0x1
8000016c: f58b0b13 addi s6,s6,-168 # 800010c0 <test_C_res>
80000170: 000a8003 lb zero,0(s5)
80000174: 000b2023 sw zero,0(s6)
80000178: 00001a97 auipc s5,0x1
8000017c: eaca8a93 addi s5,s5,-340 # 80001024 <test_D_data>
80000180: 00001b17 auipc s6,0x1
80000184: f44b0b13 addi s6,s6,-188 # 800010c4 <test_D_res>
80000188: 000aab83 lw s7,0(s5)
8000018c: 000b8c03 lb s8,0(s7)
80000190: 000c0c93 mv s9,s8
80000194: 019b2023 sw s9,0(s6)
80000198: 00001c97 auipc s9,0x1
8000019c: e94c8c93 addi s9,s9,-364 # 8000102c <test_E1_data>
800001a0: 00001d17 auipc s10,0x1
800001a4: f28d0d13 addi s10,s10,-216 # 800010c8 <test_E1_res>
800001a8: 000c8c83 lb s9,0(s9)
800001ac: 019d2023 sw s9,0(s10)
800001b0: 00001d97 auipc s11,0x1
800001b4: e81d8d93 addi s11,s11,-383 # 80001031 <test_E2_data+0x1>
800001b8: 00001e17 auipc t3,0x1
800001bc: f14e0e13 addi t3,t3,-236 # 800010cc <test_E2_res>
800001c0: fffd8d83 lb s11,-1(s11)
800001c4: 01be2023 sw s11,0(t3)
800001c8: 00001517 auipc a0,0x1
800001cc: e7850513 addi a0,a0,-392 # 80001040 <codasip_signature_start>
800001d0: 00001597 auipc a1,0x1
800001d4: f0058593 addi a1,a1,-256 # 800010d0 <_end>
800001d8: f0100637 lui a2,0xf0100
800001dc: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee5c>
800001e0 <complience_halt_loop>:
800001e0: 02b50663 beq a0,a1,8000020c <complience_halt_break>
800001e4: 00c52683 lw a3,12(a0)
800001e8: 00d62023 sw a3,0(a2)
800001ec: 00852683 lw a3,8(a0)
800001f0: 00d62023 sw a3,0(a2)
800001f4: 00452683 lw a3,4(a0)
800001f8: 00d62023 sw a3,0(a2)
800001fc: 00052683 lw a3,0(a0)
80000200: 00d62023 sw a3,0(a2)
80000204: 01050513 addi a0,a0,16
80000208: fd9ff06f j 800001e0 <complience_halt_loop>
8000020c <complience_halt_break>:
8000020c: f0100537 lui a0,0xf0100
80000210: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee50>
80000214: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: f222 fsw fs0,36(sp)
80001002: 11f1 addi gp,gp,-4
80001004 <test_A2_data>:
80001004: 44f4 lw a3,76(s1)
80001006: 0xf666f333
80001008 <test_A3_data>:
80001008: f666 fsw fs9,44(sp)
8000100a: 55f5 li a1,-3
8000100c <test_A4_data>:
8000100c: 88f8 0x88f8
8000100e: 0xaaaf777
80001010 <test_A5_data>:
80001010: 0aaa slli s5,s5,0xa
80001012: 9909 andi a0,a0,-30
80001014: cc0c sw a1,24(s0)
80001016: 0xeee0bbb
80001018 <test_B_data>:
80001018: 0eee slli t4,t4,0x1b
8000101a: dd0d beqz a0,80000f54 <complience_halt_break+0xd48>
8000101c: 00f0 addi a2,sp,76
8000101e: 0fff 0xfff
80001020 <test_C_data>:
80001020: 5678 lw a4,108(a2)
80001022: 1234 addi a3,sp,296
80001024 <test_D_data>:
80001024: 1028 addi a0,sp,40
80001026: 8000 0x8000
80001028 <test_D_data2_label>:
80001028: def0 sw a2,124(a3)
8000102a: 9abc 0x9abc
8000102c <test_E1_data>:
8000102c: 3210 fld fa2,32(a2)
8000102e: 7654 flw fa3,44(a2)
80001030 <test_E2_data>:
80001030: ba98 fsd fa4,48(a3)
80001032: fedc fsw fa5,60(a3)
...
80001040 <codasip_signature_start>:
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_A2_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060 <test_A3_res>:
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070 <test_A4_res>:
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080 <test_A5_res>:
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_B_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff
800010c0 <test_C_res>:
800010c0: ffff 0xffff
800010c2: ffff 0xffff
800010c4 <test_D_res>:
800010c4: ffff 0xffff
800010c6: ffff 0xffff
800010c8 <test_E1_res>:
800010c8: ffff 0xffff
800010ca: ffff 0xffff
800010cc <test_E2_res>:
800010cc: ffff 0xffff
800010ce: ffff 0xffff

View file

@ -0,0 +1,289 @@
/home/spinalvm/hdl/riscv-compliance/work//I-LBU-01.elf: file format elf32-littleriscv
Disassembly of section .text.init:
80000000 <_start>:
80000000: 00001f97 auipc t6,0x1
80000004: 000f8f93 mv t6,t6
80000008: 00001117 auipc sp,0x1
8000000c: 03810113 addi sp,sp,56 # 80001040 <codasip_signature_start>
80000010: 000fc183 lbu gp,0(t6) # 80001000 <test_A1_data>
80000014: 001fc203 lbu tp,1(t6)
80000018: 002fc283 lbu t0,2(t6)
8000001c: 003fc303 lbu t1,3(t6)
80000020: 00312023 sw gp,0(sp)
80000024: 00412223 sw tp,4(sp)
80000028: 00512423 sw t0,8(sp)
8000002c: 00612623 sw t1,12(sp)
80000030: 00001c17 auipc s8,0x1
80000034: fd5c0c13 addi s8,s8,-43 # 80001005 <test_A2_data+0x1>
80000038: 00001297 auipc t0,0x1
8000003c: 01828293 addi t0,t0,24 # 80001050 <test_A2_res>
80000040: fffc4c83 lbu s9,-1(s8)
80000044: 000c4d03 lbu s10,0(s8)
80000048: 001c4d83 lbu s11,1(s8)
8000004c: 002c4e03 lbu t3,2(s8)
80000050: 0192a023 sw s9,0(t0)
80000054: 01a2a223 sw s10,4(t0)
80000058: 01b2a423 sw s11,8(t0)
8000005c: 01c2a623 sw t3,12(t0)
80000060: 00001397 auipc t2,0x1
80000064: fa738393 addi t2,t2,-89 # 80001007 <test_A2_data+0x3>
80000068: 00001417 auipc s0,0x1
8000006c: ff840413 addi s0,s0,-8 # 80001060 <test_A3_res>
80000070: 0013cf03 lbu t5,1(t2)
80000074: 0023cf83 lbu t6,2(t2)
80000078: 0033c083 lbu ra,3(t2)
8000007c: 0043c103 lbu sp,4(t2)
80000080: 01e42023 sw t5,0(s0)
80000084: 01f42223 sw t6,4(s0)
80000088: 00142423 sw ra,8(s0)
8000008c: 00242623 sw sp,12(s0)
80000090: 00001517 auipc a0,0x1
80000094: 77c50513 addi a0,a0,1916 # 8000180c <_end+0x73c>
80000098: 00001597 auipc a1,0x1
8000009c: fd858593 addi a1,a1,-40 # 80001070 <test_A4_res>
800000a0: 80054603 lbu a2,-2048(a0)
800000a4: 80154683 lbu a3,-2047(a0)
800000a8: 80254703 lbu a4,-2046(a0)
800000ac: 80354783 lbu a5,-2045(a0)
800000b0: 00c5a023 sw a2,0(a1)
800000b4: 00d5a223 sw a3,4(a1)
800000b8: 00e5a423 sw a4,8(a1)
800000bc: 00f5a623 sw a5,12(a1)
800000c0: 00000697 auipc a3,0x0
800000c4: 75468693 addi a3,a3,1876 # 80000814 <complience_halt_break+0x608>
800000c8: 00001717 auipc a4,0x1
800000cc: fb870713 addi a4,a4,-72 # 80001080 <test_A5_res>
800000d0: 7fc6c783 lbu a5,2044(a3)
800000d4: 7fd6c803 lbu a6,2045(a3)
800000d8: 7fe6c883 lbu a7,2046(a3)
800000dc: 7ff6c903 lbu s2,2047(a3)
800000e0: 00f72023 sw a5,0(a4)
800000e4: 01072223 sw a6,4(a4)
800000e8: 01172423 sw a7,8(a4)
800000ec: 01272623 sw s2,12(a4)
800000f0: 00001817 auipc a6,0x1
800000f4: f2880813 addi a6,a6,-216 # 80001018 <test_B_data>
800000f8: 00001897 auipc a7,0x1
800000fc: f9888893 addi a7,a7,-104 # 80001090 <test_B_res>
80000100: ffc84903 lbu s2,-4(a6)
80000104: ffd84983 lbu s3,-3(a6)
80000108: ffe84a03 lbu s4,-2(a6)
8000010c: fff84a83 lbu s5,-1(a6)
80000110: 00084b03 lbu s6,0(a6)
80000114: 00184b83 lbu s7,1(a6)
80000118: 00284c03 lbu s8,2(a6)
8000011c: 00384c83 lbu s9,3(a6)
80000120: 00484d03 lbu s10,4(a6)
80000124: 00584d83 lbu s11,5(a6)
80000128: 00684e03 lbu t3,6(a6)
8000012c: 00784e83 lbu t4,7(a6)
80000130: 0128a023 sw s2,0(a7)
80000134: 0138a223 sw s3,4(a7)
80000138: 0148a423 sw s4,8(a7)
8000013c: 0158a623 sw s5,12(a7)
80000140: 0168a823 sw s6,16(a7)
80000144: 0178aa23 sw s7,20(a7)
80000148: 0188ac23 sw s8,24(a7)
8000014c: 0198ae23 sw s9,28(a7)
80000150: 03a8a023 sw s10,32(a7)
80000154: 03b8a223 sw s11,36(a7)
80000158: 03c8a423 sw t3,40(a7)
8000015c: 03d8a623 sw t4,44(a7)
80000160: 00001a97 auipc s5,0x1
80000164: ec0a8a93 addi s5,s5,-320 # 80001020 <test_C_data>
80000168: 00001b17 auipc s6,0x1
8000016c: f58b0b13 addi s6,s6,-168 # 800010c0 <test_C_res>
80000170: 000ac003 lbu zero,0(s5)
80000174: 000b2023 sw zero,0(s6)
80000178: 00001a97 auipc s5,0x1
8000017c: eaca8a93 addi s5,s5,-340 # 80001024 <test_D_data>
80000180: 00001b17 auipc s6,0x1
80000184: f44b0b13 addi s6,s6,-188 # 800010c4 <test_D_res>
80000188: 000aab83 lw s7,0(s5)
8000018c: 000bcc03 lbu s8,0(s7)
80000190: 000c0c93 mv s9,s8
80000194: 019b2023 sw s9,0(s6)
80000198: 00001c97 auipc s9,0x1
8000019c: e94c8c93 addi s9,s9,-364 # 8000102c <test_E1_data>
800001a0: 00001d17 auipc s10,0x1
800001a4: f28d0d13 addi s10,s10,-216 # 800010c8 <test_E1_res>
800001a8: 000ccc83 lbu s9,0(s9)
800001ac: 019d2023 sw s9,0(s10)
800001b0: 00001d97 auipc s11,0x1
800001b4: e81d8d93 addi s11,s11,-383 # 80001031 <test_E2_data+0x1>
800001b8: 00001e17 auipc t3,0x1
800001bc: f14e0e13 addi t3,t3,-236 # 800010cc <test_E2_res>
800001c0: fffdcd83 lbu s11,-1(s11)
800001c4: 01be2023 sw s11,0(t3)
800001c8: 00001517 auipc a0,0x1
800001cc: e7850513 addi a0,a0,-392 # 80001040 <codasip_signature_start>
800001d0: 00001597 auipc a1,0x1
800001d4: f0058593 addi a1,a1,-256 # 800010d0 <_end>
800001d8: f0100637 lui a2,0xf0100
800001dc: f2c60613 addi a2,a2,-212 # f00fff2c <_end+0x700fee5c>
800001e0 <complience_halt_loop>:
800001e0: 02b50663 beq a0,a1,8000020c <complience_halt_break>
800001e4: 00c52683 lw a3,12(a0)
800001e8: 00d62023 sw a3,0(a2)
800001ec: 00852683 lw a3,8(a0)
800001f0: 00d62023 sw a3,0(a2)
800001f4: 00452683 lw a3,4(a0)
800001f8: 00d62023 sw a3,0(a2)
800001fc: 00052683 lw a3,0(a0)
80000200: 00d62023 sw a3,0(a2)
80000204: 01050513 addi a0,a0,16
80000208: fd9ff06f j 800001e0 <complience_halt_loop>
8000020c <complience_halt_break>:
8000020c: f0100537 lui a0,0xf0100
80000210: f2050513 addi a0,a0,-224 # f00fff20 <_end+0x700fee50>
80000214: 00052023 sw zero,0(a0)
...
Disassembly of section .data:
80001000 <test_A1_data>:
80001000: f222 fsw fs0,36(sp)
80001002: 11f1 addi gp,gp,-4
80001004 <test_A2_data>:
80001004: 44f4 lw a3,76(s1)
80001006: 0xf666f333
80001008 <test_A3_data>:
80001008: f666 fsw fs9,44(sp)
8000100a: 55f5 li a1,-3
8000100c <test_A4_data>:
8000100c: 88f8 0x88f8
8000100e: 0xaaaf777
80001010 <test_A5_data>:
80001010: 0aaa slli s5,s5,0xa
80001012: 9909 andi a0,a0,-30
80001014: cc0c sw a1,24(s0)
80001016: 0xeee0bbb
80001018 <test_B_data>:
80001018: 0eee slli t4,t4,0x1b
8000101a: dd0d beqz a0,80000f54 <complience_halt_break+0xd48>
8000101c: 00f0 addi a2,sp,76
8000101e: 0fff 0xfff
80001020 <test_C_data>:
80001020: 5678 lw a4,108(a2)
80001022: 1234 addi a3,sp,296
80001024 <test_D_data>:
80001024: 1028 addi a0,sp,40
80001026: 8000 0x8000
80001028 <test_D_data2_label>:
80001028: def0 sw a2,124(a3)
8000102a: 9abc 0x9abc
8000102c <test_E1_data>:
8000102c: 3210 fld fa2,32(a2)
8000102e: 7654 flw fa3,44(a2)
80001030 <test_E2_data>:
80001030: ba98 fsd fa4,48(a3)
80001032: fedc fsw fa5,60(a3)
...
80001040 <codasip_signature_start>:
80001040: ffff 0xffff
80001042: ffff 0xffff
80001044: ffff 0xffff
80001046: ffff 0xffff
80001048: ffff 0xffff
8000104a: ffff 0xffff
8000104c: ffff 0xffff
8000104e: ffff 0xffff
80001050 <test_A2_res>:
80001050: ffff 0xffff
80001052: ffff 0xffff
80001054: ffff 0xffff
80001056: ffff 0xffff
80001058: ffff 0xffff
8000105a: ffff 0xffff
8000105c: ffff 0xffff
8000105e: ffff 0xffff
80001060 <test_A3_res>:
80001060: ffff 0xffff
80001062: ffff 0xffff
80001064: ffff 0xffff
80001066: ffff 0xffff
80001068: ffff 0xffff
8000106a: ffff 0xffff
8000106c: ffff 0xffff
8000106e: ffff 0xffff
80001070 <test_A4_res>:
80001070: ffff 0xffff
80001072: ffff 0xffff
80001074: ffff 0xffff
80001076: ffff 0xffff
80001078: ffff 0xffff
8000107a: ffff 0xffff
8000107c: ffff 0xffff
8000107e: ffff 0xffff
80001080 <test_A5_res>:
80001080: ffff 0xffff
80001082: ffff 0xffff
80001084: ffff 0xffff
80001086: ffff 0xffff
80001088: ffff 0xffff
8000108a: ffff 0xffff
8000108c: ffff 0xffff
8000108e: ffff 0xffff
80001090 <test_B_res>:
80001090: ffff 0xffff
80001092: ffff 0xffff
80001094: ffff 0xffff
80001096: ffff 0xffff
80001098: ffff 0xffff
8000109a: ffff 0xffff
8000109c: ffff 0xffff
8000109e: ffff 0xffff
800010a0: ffff 0xffff
800010a2: ffff 0xffff
800010a4: ffff 0xffff
800010a6: ffff 0xffff
800010a8: ffff 0xffff
800010aa: ffff 0xffff
800010ac: ffff 0xffff
800010ae: ffff 0xffff
800010b0: ffff 0xffff
800010b2: ffff 0xffff
800010b4: ffff 0xffff
800010b6: ffff 0xffff
800010b8: ffff 0xffff
800010ba: ffff 0xffff
800010bc: ffff 0xffff
800010be: ffff 0xffff
800010c0 <test_C_res>:
800010c0: ffff 0xffff
800010c2: ffff 0xffff
800010c4 <test_D_res>:
800010c4: ffff 0xffff
800010c6: ffff 0xffff
800010c8 <test_E1_res>:
800010c8: ffff 0xffff
800010ca: ffff 0xffff
800010cc <test_E2_res>:
800010cc: ffff 0xffff
800010ce: ffff 0xffff

Some files were not shown because too many files have changed in this diff Show more