flat assembler
Message board for the users of flat assembler.
Index
> Main > Intel has added a new instruction (RDRAND) Kewl ! Goto page 1, 2 Next |
Author |
|
typedef 17 Aug 2011, 04:50
Say hello to a new instruction RDRAND, Random number generator.
Here is the full changes post: http://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-developers-manual.html?wapkw=developers%20manual Page 9 PS: Requires flash. |
|||
17 Aug 2011, 04:50 |
|
DJ Mauretto 17 Aug 2011, 07:16
Thanks for your report, Do you know which set of processors support this instruction
_________________ Nil Volentibus Arduum |
|||
17 Aug 2011, 07:16 |
|
AsmGuru62 17 Aug 2011, 13:03
In that same manual there is a CPUID bit described as indicating the instruction presence.
|
|||
17 Aug 2011, 13:03 |
|
DOS386 18 Aug 2011, 04:39
> Intel has added a new instruction Kewl !
COOL What does the new KEWL instruction do ? > PS: Requires flash. I see ... or not ... I can't download anything from them. Intel brings hot compatibility breaking technology again |
|||
18 Aug 2011, 04:39 |
|
Overflowz 18 Aug 2011, 09:43
DOS386
http://www.urbandictionary.com/define.php?term=kewl I know, you're just trolling ^^ |
|||
18 Aug 2011, 09:43 |
|
Tyler 20 Aug 2011, 05:30
Crap, now my processor requires Flash? WTF!
|
|||
20 Aug 2011, 05:30 |
|
me239 20 Aug 2011, 05:58
So how do we use? FASM doesn't support it yet, so what's the opcode for it along with the parameters?
|
|||
20 Aug 2011, 05:58 |
|
revolution 20 Aug 2011, 06:32
Direct link to PDF:
http://www.intel.com/content/dam/doc/manual/64-ia-32-architectures-software-developers-manual.pdf me239 wrote: So how do we use? FASM doesn't support it yet, so what's the opcode for it along with the parameters? |
|||
20 Aug 2011, 06:32 |
|
Tomasz Grysztar 20 Aug 2011, 07:46
me239 wrote: FASM doesn't support it yet (...) Not true. It is supported since 1.69.15 |
|||
20 Aug 2011, 07:46 |
|
DJ Mauretto 20 Aug 2011, 08:10
version 1.69.15 (Aug 24, 2010)
[+] Added support for AVX, AES, PCLMULQDQ, FMA, RDRAND, FSGSBASE, F16C, FMA4 and XOP instruction sets. _________________ Nil Volentibus Arduum |
|||
20 Aug 2011, 08:10 |
|
DOS386 20 Aug 2011, 08:12
Quote: version 1.69.15 (Aug 24, 2010) 1 year ago ... this was HOT news > Page 9 NO. Page 11. > so what's the opcode for it along with the parameters? $0F, $C7, $F0 (latter for AX / EAX as operand) Sad it hadn't been in since 8086 Anyone has an idea how much power or how many transistors it costs ?
_________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
||||||||||
20 Aug 2011, 08:12 |
|
vid 20 Aug 2011, 08:29
I wonder what do they use for Nondeterministic random bit generator. Anyone has an idea?
|
|||
20 Aug 2011, 08:29 |
|
DOS386 20 Aug 2011, 08:36
Radioactive decay ??? Oops, it produces heat, Alpha or Beta + Gamma radiation, besides nondeterministic behavior
|
|||
20 Aug 2011, 08:36 |
|
AsmGuru62 20 Aug 2011, 12:24
I once was a part of a project (1989, I believe) where RNG was done using the delays of a simple OR,AND elements. The fact is that delays between two pulses are not the exactly same - they differ in a miniscule sense, however some are smaller than average and some are larger. It may depend on a number of factors: background radiation levels, sun exposure, cosmic rays, temperature, magnetism, etc. So, basically, very presice pulse generator counts the size of delays and random sequence may be generated. Also, inside the device - the flow of delays can change - it may go through a different set of elements every time a number is generated. I wrote a self-test routine for this to detect if device is working properly.
|
|||
20 Aug 2011, 12:24 |
|
revolution 20 Aug 2011, 12:28
Usually the thermal noise across a resistor is the easiest way to generate non-determinism. It is also an easy circuit to make both in the nanometre silicon and the discrete domains. The only real problem with it is the proper way to ensure you don't sample too fast and start getting poor quality bits. Intel seemed to have solved this with a PRNG following the RNG to create higher bandwidth number generation.
|
|||
20 Aug 2011, 12:28 |
|
emc 21 Aug 2011, 02:19
I liked the use of RDTSC instruction to get randomized values...
|
|||
21 Aug 2011, 02:19 |
|
revolution 21 Aug 2011, 12:20
emc wrote: I liked the use of RDTSC instruction to get randomized values... Last edited by revolution on 21 Aug 2011, 13:23; edited 1 time in total |
|||
21 Aug 2011, 12:20 |
|
f0dder 21 Aug 2011, 13:17
emc wrote: I liked the use of RDTSC instruction to get randomized values... _________________ - carpe noctem |
|||
21 Aug 2011, 13:17 |
|
emc 21 Aug 2011, 14:25
Don't worry, I haven't been dealing with cryptography (fortunately). But before that new instruction, programmers had to work with rdtsc only?
|
|||
21 Aug 2011, 14:25 |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.