flat assembler
Message board for the users of flat assembler.
Index
> Main > [x86]Predicting? |
Author |
|
l_inc 01 Oct 2015, 11:48
l4m2
It won't, because all types of branches rely on the branch target buffer. The difference is how many entries in the BTB the branch can use. So in most cases the pipeline won't be flushed for any of the branches. _________________ Faith is a superposition of knowledge and fallacy |
|||
01 Oct 2015, 11:48 |
|
revolution 01 Oct 2015, 12:25
l4m2 wrote: Will the second orogram run faster than the firat one when a majority of cases have eax equals to 0? If so, what rate makes the two runs nearly with the same average speed? Test it in your code and see if there is a difference. Then go with the fastest one. But this only works for your test system, other people may see different results. |
|||
01 Oct 2015, 12:25 |
|
l4m2 01 Oct 2015, 13:40
o-o
|
|||
01 Oct 2015, 13:40 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.