Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/devel' into vanadis-lsq
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Hammond authored and Simon Hammond committed Nov 21, 2022
2 parents 3f016a3 + b6fd06b commit bceece2
Show file tree
Hide file tree
Showing 10 changed files with 187 additions and 26 deletions.
6 changes: 6 additions & 0 deletions src/sst/elements/vanadis/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,13 @@ EXTRA_DIST = \
tests/small/basic-io/read-write/Makefile \
tests/small/basic-io/read-write/read-write.c \
tests/small/basic-io/read-write/mipsel/read-write \
tests/small/basic-io/read-write/mipsel/sst.stdout.gold \
tests/small/basic-io/read-write/mipsel/vanadis.stderr.gold \
tests/small/basic-io/read-write/mipsel/vanadis.stdout.gold \
tests/small/basic-io/read-write/riscv64/read-write \
tests/small/basic-io/read-write/riscv64/sst.stdout.gold \
tests/small/basic-io/read-write/riscv64/vanadis.stderr.gold \
tests/small/basic-io/read-write/riscv64/vanadis.stdout.gold \
\
tests/small/basic-math/sqrt-double/Makefile \
tests/small/basic-math/sqrt-double/sqrt-double.c \
Expand Down
6 changes: 6 additions & 0 deletions src/sst/elements/vanadis/os/node/vnodeosopenath.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ class VanadisOpenAtHandlerState : public VanadisHandlerState {
output->verbose(CALL_INFO, 16, 0, "[syscall-openat] new Vanadis file descriptor %" PRIu32 ", SST file descriptor %d\n",
opened_fd_handle, desp->getFileDescriptor() );
} catch ( int error ) {

#ifdef SST_COMPILE_MACOSX
if ( errno == 30 ) {
errno = 13;
}
#endif
opened_fd_handle = -errno;
char buf[100];
strerror_r(errno,buf,100);
Expand Down
6 changes: 6 additions & 0 deletions src/sst/elements/vanadis/os/vmipscpuos.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ class VanadisMIPSOSHandler : public VanadisCPUOSHandler {
int32_t path_addr = getRegister( 5 );
int32_t flags = getRegister( 6 );

#ifdef SST_COMPILE_MACOSX
if ( dirFd == -100 ) {
dirFd = -2;
}
#endif

output->verbose(CALL_INFO, 8, 0, "[syscall-handler] found a call to unlinkat( %d, %" PRId32 ", %#" PRIx32" )\n",dirFd,path_addr,flags);

call_ev = new VanadisSyscallUnlinkatEvent(core_id, hw_thr, VanadisOSBitType::VANADIS_OS_32B, dirFd,path_addr,flags);
Expand Down
7 changes: 5 additions & 2 deletions src/sst/elements/vanadis/os/vriscvcpuos.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ class VanadisRISCV64OSHandler : public VanadisCPUOSHandler {
int64_t path_addr = getRegister<int64_t>( 11 );
int64_t flags = getRegister<int64_t>( 12 );

#ifdef SST_COMPILE_MACOSX
if ( dirFd == -100 ) {
dirFd = -2;
}
#endif
output->verbose(CALL_INFO, 8, 0, "[syscall-handler] found a call to unlinkat( %d, %" PRIu64 ", %#" PRIx64" )\n",dirFd,path_addr,flags);

call_ev = new VanadisSyscallUnlinkatEvent(core_id, hw_thr, VanadisOSBitType::VANADIS_OS_64B, dirFd,path_addr,flags);
Expand All @@ -247,13 +252,11 @@ class VanadisRISCV64OSHandler : public VanadisCPUOSHandler {
uint64_t openat_flags = getRegister<uint64_t>( 12 );
uint64_t openat_mode = getRegister<uint64_t>(13);


#ifdef SST_COMPILE_MACOSX
if ( openat_dirfd == -100 ) {
openat_dirfd = -2;
}
#endif

output->verbose(CALL_INFO, 8, 0, "[syscall-handler] found a call to openat( %d, %#llx, %#" PRIx64 ", %#" PRIx64 ")\n",
openat_dirfd, openat_path_ptr, openat_flags, openat_mode);

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
Verbosity: 0 -> loading Vanadis CPU type: vanadis.dbg_VanadisCPU
Auto-clock syscalls: no
No application arguments found, continuing with argc=0
WARNING: Element vanadis.dbg_VanadisCPU has slot with an invalid name: decoder%(hardware_threads)d
l2cache: No MSHR lookup latency provided (mshr_latency_cycles)...intrapolated to 3 cycles.
v0:decoder0:branch_unit.branch_cache_hit.1 : Accumulator : Sum.u64 = 7910; SumSQ.u64 = 7910; Count.u64 = 7910; Min.u64 = 1; Max.u64 = 1;
v0:decoder0:branch_unit.branch_cache_miss.1 : Accumulator : Sum.u64 = 12887; SumSQ.u64 = 12887; Count.u64 = 12887; Min.u64 = 1; Max.u64 = 1;
v0:decoder0:branch_unit.branch_cache_castout.1 : Accumulator : Sum.u64 = 2795; SumSQ.u64 = 2795; Count.u64 = 2795; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.uop_cache_hit.1 : Accumulator : Sum.u64 = 654327; SumSQ.u64 = 654327; Count.u64 = 654327; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.predecode_cache_hit.1 : Accumulator : Sum.u64 = 12900; SumSQ.u64 = 12900; Count.u64 = 12900; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.predecode_cache_miss.1 : Accumulator : Sum.u64 = 459997; SumSQ.u64 = 459997; Count.u64 = 459997; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.uops_generated.1 : Accumulator : Sum.u64 = 12918; SumSQ.u64 = 13026; Count.u64 = 12864; Min.u64 = 1; Max.u64 = 2;
v0:decoder0.decode_faults.1 : Accumulator : Sum.u64 = 36; SumSQ.u64 = 36; Count.u64 = 36; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_bytes_loaded.1 : Accumulator : Sum.u64 = 1839988; SumSQ.u64 = 7359952; Count.u64 = 459997; Min.u64 = 4; Max.u64 = 4;
v0:decoder0.uop_delayed_rob_full.1 : Accumulator : Sum.u64 = 314638; SumSQ.u64 = 314638; Count.u64 = 314638; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_add.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_addu.1 : Accumulator : Sum.u64 = 481; SumSQ.u64 = 481; Count.u64 = 481; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_and.1 : Accumulator : Sum.u64 = 82; SumSQ.u64 = 82; Count.u64 = 82; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_dadd.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_daddu.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_ddiv.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_div.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_divu.1 : Accumulator : Sum.u64 = 9; SumSQ.u64 = 9; Count.u64 = 9; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_dmult.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_dmultu.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_dsllv.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_dsrav.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_dsrlv.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_dsub.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_dsubu.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_jr.1 : Accumulator : Sum.u64 = 258; SumSQ.u64 = 258; Count.u64 = 258; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_jalr.1 : Accumulator : Sum.u64 = 16; SumSQ.u64 = 16; Count.u64 = 16; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_mfhi.1 : Accumulator : Sum.u64 = 6; SumSQ.u64 = 6; Count.u64 = 6; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_mflo.1 : Accumulator : Sum.u64 = 32; SumSQ.u64 = 32; Count.u64 = 32; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_mult.1 : Accumulator : Sum.u64 = 23; SumSQ.u64 = 23; Count.u64 = 23; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_multu.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_nor.1 : Accumulator : Sum.u64 = 21; SumSQ.u64 = 21; Count.u64 = 21; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_or.1 : Accumulator : Sum.u64 = 1402; SumSQ.u64 = 1402; Count.u64 = 1402; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sllv.1 : Accumulator : Sum.u64 = 1; SumSQ.u64 = 1; Count.u64 = 1; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_slt.1 : Accumulator : Sum.u64 = 74; SumSQ.u64 = 74; Count.u64 = 74; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sltu.1 : Accumulator : Sum.u64 = 38; SumSQ.u64 = 38; Count.u64 = 38; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_srav.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_srlv.1 : Accumulator : Sum.u64 = 1; SumSQ.u64 = 1; Count.u64 = 1; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sub.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_subu.1 : Accumulator : Sum.u64 = 182; SumSQ.u64 = 182; Count.u64 = 182; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_syscall.1 : Accumulator : Sum.u64 = 43; SumSQ.u64 = 43; Count.u64 = 43; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sync.1 : Accumulator : Sum.u64 = 4; SumSQ.u64 = 4; Count.u64 = 4; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_xor.1 : Accumulator : Sum.u64 = 17; SumSQ.u64 = 17; Count.u64 = 17; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sll.1 : Accumulator : Sum.u64 = 190; SumSQ.u64 = 190; Count.u64 = 190; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_srl.1 : Accumulator : Sum.u64 = 104; SumSQ.u64 = 104; Count.u64 = 104; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sra.1 : Accumulator : Sum.u64 = 32; SumSQ.u64 = 32; Count.u64 = 32; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_bltz.1 : Accumulator : Sum.u64 = 53; SumSQ.u64 = 53; Count.u64 = 53; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_bgezal.1 : Accumulator : Sum.u64 = 360; SumSQ.u64 = 360; Count.u64 = 360; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_bgez.1 : Accumulator : Sum.u64 = 46; SumSQ.u64 = 46; Count.u64 = 46; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_lui.1 : Accumulator : Sum.u64 = 296; SumSQ.u64 = 296; Count.u64 = 296; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_lb.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_lbu.1 : Accumulator : Sum.u64 = 257; SumSQ.u64 = 257; Count.u64 = 257; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_lhu.1 : Accumulator : Sum.u64 = 6; SumSQ.u64 = 6; Count.u64 = 6; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_lw.1 : Accumulator : Sum.u64 = 1908; SumSQ.u64 = 1908; Count.u64 = 1908; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_lfp32.1 : Accumulator : Sum.u64 = 60; SumSQ.u64 = 60; Count.u64 = 60; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_ll.1 : Accumulator : Sum.u64 = 3; SumSQ.u64 = 3; Count.u64 = 3; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_lwl.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_lwr.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_sb.1 : Accumulator : Sum.u64 = 239; SumSQ.u64 = 239; Count.u64 = 239; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sc.1 : Accumulator : Sum.u64 = 2; SumSQ.u64 = 2; Count.u64 = 2; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sw.1 : Accumulator : Sum.u64 = 1658; SumSQ.u64 = 1658; Count.u64 = 1658; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sh.1 : Accumulator : Sum.u64 = 1; SumSQ.u64 = 1; Count.u64 = 1; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sfp32.1 : Accumulator : Sum.u64 = 54; SumSQ.u64 = 54; Count.u64 = 54; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_swr.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_swl.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_addiu.1 : Accumulator : Sum.u64 = 1904; SumSQ.u64 = 1904; Count.u64 = 1904; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_beq.1 : Accumulator : Sum.u64 = 759; SumSQ.u64 = 759; Count.u64 = 759; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_bgtz.1 : Accumulator : Sum.u64 = 16; SumSQ.u64 = 16; Count.u64 = 16; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_blez.1 : Accumulator : Sum.u64 = 39; SumSQ.u64 = 39; Count.u64 = 39; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_bne.1 : Accumulator : Sum.u64 = 411; SumSQ.u64 = 411; Count.u64 = 411; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_slti.1 : Accumulator : Sum.u64 = 5; SumSQ.u64 = 5; Count.u64 = 5; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_sltiu.1 : Accumulator : Sum.u64 = 134; SumSQ.u64 = 134; Count.u64 = 134; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_andi.1 : Accumulator : Sum.u64 = 186; SumSQ.u64 = 186; Count.u64 = 186; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_ori.1 : Accumulator : Sum.u64 = 84; SumSQ.u64 = 84; Count.u64 = 84; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_j.1 : Accumulator : Sum.u64 = 4; SumSQ.u64 = 4; Count.u64 = 4; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_jal.1 : Accumulator : Sum.u64 = 1; SumSQ.u64 = 1; Count.u64 = 1; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_xori.1 : Accumulator : Sum.u64 = 11; SumSQ.u64 = 11; Count.u64 = 11; Min.u64 = 1; Max.u64 = 1;
v0:decoder0.ins_decode_rdhwr.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_mtc.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_mfc.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_cf.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_ct.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_mov.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_mul.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_div.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_sub.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_cvts.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_cvtd.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_cvtw.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_lt.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_lte.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:decoder0.ins_decode_cop1_eq.1 : Accumulator : Sum.u64 = 0; SumSQ.u64 = 0; Count.u64 = 0; Min.u64 = 0; Max.u64 = 0;
v0:lsq.loads_issued.1 : Accumulator : Sum.u64 = 7652; SumSQ.u64 = 7652; Count.u64 = 7652; Min.u64 = 1; Max.u64 = 1;
v0:lsq.stores_issued.1 : Accumulator : Sum.u64 = 3540; SumSQ.u64 = 3540; Count.u64 = 3540; Min.u64 = 1; Max.u64 = 1;
v0:lsq.bytes_read.1 : Accumulator : Sum.u64 = 26283; SumSQ.u64 = 101325; Count.u64 = 7521; Min.u64 = 1; Max.u64 = 4;
v0:lsq.bytes_stored.1 : Accumulator : Sum.u64 = 12197; SumSQ.u64 = 47693; Count.u64 = 3323; Min.u64 = 1; Max.u64 = 4;
v0:lsq.fences_issued.1 : Accumulator : Sum.u64 = 55; SumSQ.u64 = 55; Count.u64 = 55; Min.u64 = 1; Max.u64 = 1;
v0:lsq.loads_executed.1 : Accumulator : Sum.u64 = 6341; SumSQ.u64 = 6341; Count.u64 = 6341; Min.u64 = 1; Max.u64 = 1;
v0:lsq.stores_executed.1 : Accumulator : Sum.u64 = 3323; SumSQ.u64 = 3323; Count.u64 = 3323; Min.u64 = 1; Max.u64 = 1;
v0:lsq.fences_executed.1 : Accumulator : Sum.u64 = 44; SumSQ.u64 = 44; Count.u64 = 44; Min.u64 = 1; Max.u64 = 1;
v0:lsq.store_buffer_entries.1 : Accumulator : Sum.u64 = 39410; SumSQ.u64 = 167490; Count.u64 = 201918; Min.u64 = 0; Max.u64 = 8;
v0:lsq.stores_in_flight.1 : Accumulator : Sum.u64 = 195812; SumSQ.u64 = 1935250; Count.u64 = 201918; Min.u64 = 0; Max.u64 = 25;
v0:lsq.loads_in_flight.1 : Accumulator : Sum.u64 = 117717; SumSQ.u64 = 265667; Count.u64 = 201918; Min.u64 = 0; Max.u64 = 15;
v0:lsq.operations_pending : Accumulator : Sum.u64 = 25869; SumSQ.u64 = 95187; Count.u64 = 201918; Min.u64 = 0; Max.u64 = 13;
v0.instructions_retired.1 : Accumulator : Sum.u64 = 31206; SumSQ.u64 = 65432; Count.u64 = 201918; Min.u64 = 0; Max.u64 = 6;
v0.instructions_decoded.1 : Accumulator : Sum.u64 = 127335; SumSQ.u64 = 998081; Count.u64 = 201918; Min.u64 = 0; Max.u64 = 15;
v0.instructions_issued.1 : Accumulator : Sum.u64 = 53256; SumSQ.u64 = 134708; Count.u64 = 201918; Min.u64 = 0; Max.u64 = 4;
v0.loads_issued.1 : Accumulator : Sum.u64 = 7652; SumSQ.u64 = 7652; Count.u64 = 7652; Min.u64 = 1; Max.u64 = 1;
v0.stores_issued.1 : Accumulator : Sum.u64 = 3540; SumSQ.u64 = 3540; Count.u64 = 3540; Min.u64 = 1; Max.u64 = 1;
v0.branch_mispredicts.1 : Accumulator : Sum.u64 = 2203; SumSQ.u64 = 2203; Count.u64 = 2203; Min.u64 = 1; Max.u64 = 1;
v0.branches.1 : Accumulator : Sum.u64 = 8564; SumSQ.u64 = 8564; Count.u64 = 8564; Min.u64 = 1; Max.u64 = 1;
v0.cycles.1 : Accumulator : Sum.u64 = 201918; SumSQ.u64 = 201918; Count.u64 = 201918; Min.u64 = 1; Max.u64 = 1;
v0.rob_slots_in_use.1 : Accumulator : Sum.u64 = 5836127; SumSQ.u64 = 338983677; Count.u64 = 201918; Min.u64 = 0; Max.u64 = 63;
v0.rob_cleared_entries.1 : Accumulator : Sum.u64 = 96129; SumSQ.u64 = 5023457; Count.u64 = 2204; Min.u64 = 0; Max.u64 = 61;
v0.syscall-cycles.1 : Accumulator : Sum.u64 = 79; SumSQ.u64 = 79; Count.u64 = 79; Min.u64 = 1; Max.u64 = 1;
v0.phys_int_reg_in_use.1 : Accumulator : Sum.u64 = 7301186; SumSQ.u64 = 265553012; Count.u64 = 201918; Min.u64 = 34; Max.u64 = 50;
v0.phys_fp_reg_in_use.1 : Accumulator : Sum.u64 = 6872682; SumSQ.u64 = 233946188; Count.u64 = 201918; Min.u64 = 34; Max.u64 = 42;
Simulation is complete, simulated time: 93.9752 us
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ writeData() open( 'read_write_test.txt' ) succeeded
write 10 bytes
write 20 bytes
write 718 bytes
writeData() close 'read_write_test.txt' succeede
writeData() close 'read_write_test.txt' succeeded
readData() open 'read_write_test.txt' succeeded
read 10 bytes
read 20 bytes
read 718 bytes
readData() close 'read_write_test.txt' succeede�
readData() close 'read_write_test.txt' succeeded
unlink 'read_write_test.txt' succeeded
Loading

0 comments on commit bceece2

Please sign in to comment.