News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Instruction Timing

Started by nidud, November 23, 2021, 01:57:43 AM

Previous topic - Next topic

jj2007

Quote from: TimoVJL on November 23, 2021, 11:23:42 PM
AMD Ryzen 5 3400G

As already seen in the other thread, AMD sucks for lodsb :cool:

594 ticks for movzx+inc
1515 ticks for lodsb

TimoVJL

Mine is old Zen 2 gen, 12 nm, with integral graphics.
We still wait Zen 3 gen results.
May the source be with you

Greenhorn

Ryzen 5 3400G is Zen+.

Attached is Zen 2 (AMD Ryzen 7 3700X)
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

TimoVJL

Thanks.
Quote from: Greenhorn on November 24, 2021, 11:39:01 AM
Ryzen 5 3400G is Zen+.
Yes, Zen+ based (2nd generation)

Instr. Operands Bytes Intel Intel AMD AMD
--------- ----------------- ------ ------ ------ ------
lodsb 1 4 5 4 12 6
lodsw 2 4 5 4 12 6
lodsd 1 4 5 3 12 12
...
xchg reg64,mem64 6 77 83 75 119 68
xchg mem64,reg64 6 77 83 75 119 68
May the source be with you

hutch--

Something missing in the ZIP file.

Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz (AVX2)
------------------------------------------------
Instr.     Operands         Bytes  Clocks
------------------------------------------------
error reading: bin\mov_reg64_reg64.bin

TimoVJL

That test needs asmc64.exe too, in path or in same folder.
May the source be with you

Greenhorn

Quote from: TimoVJL on November 24, 2021, 05:10:16 PM
Thanks.
Quote from: Greenhorn on November 24, 2021, 11:39:01 AM
Ryzen 5 3400G is Zen+.
Yes, Zen+ based (2nd generation)

Sorry, I missed the period after the "2". My eyes get bad.
Kole Feut un Nordenwind gift en krusen Büdel un en lütten Pint.

nidud

#22
deleted

hutch--

You guys worry me, a working executable file should be trivial to make.

Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz (AVX2)
------------------------------------------------
Instr.     Operands         Bytes  Clocks
------------------------------------------------
The system cannot find the path specified.
error reading: bin\mov_reg64_reg64.bin

A:\InstructionTiming>

nidud

#24
deleted

nidud

#25
deleted

TimoVJL

@hutch--
Pre-created binaries with empty asmc64.cmd.
Perhaps now you can have results for excel table.
May the source be with you

hutch--

Hi Timo,

I downloaded the Excel reader you posted, had a look at the table but deleted it after as it was squarking crap with a nag screen. At least I understood what the data was and the CPU comparisons it contained.

TimoVJL

Ok,
Attached results in tabular format and tiny viewer for it.
May the source be with you

hutch--