en:pfw:marsaglia_s_xorshift_for_arm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:pfw:marsaglia_s_xorshift_for_arm [2024-10-08 23:02] – [Raspberry Pi 3b+ with wabiForth] jeroenh | en:pfw:marsaglia_s_xorshift_for_arm [2024-10-08 23:03] (current) – [Raspberry Pi 3b+ with wabiForth] jeroenh | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| The Forth version of the randomisation routines is the same on any processor as only standard Forth words are used. But the ARM-processor can do do a neat | The Forth version of the randomisation routines is the same on any processor as only standard Forth words are used. But the ARM-processor can do do a neat | ||
| - | trick: it can do q cycle (dup, shift and xor) in 1 opcode!! And as | + | trick: it can do 1 cycle (dup, shift and xor) in 1 opcode!! And as |
| most Forths include an assembler it is an interesting exercise to see how | most Forths include an assembler it is an interesting exercise to see how | ||
| much faster the routine is when coded in assembly. | much faster the routine is when coded in assembly. | ||
en/pfw/marsaglia_s_xorshift_for_arm.1728421371.txt.gz · Last modified: 2024-10-08 23:02 by jeroenh