Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Frage zur Ausführungsgeschwindigkeit

Franz
2006-10-12
2006-10-13
  • Franz - 2006-10-12

    Hi all,

    mal ne Frage zur Ausführungsgeschwindigkeit von Befehlen, speziell:

    Was ist schneller:

    SHL o. SHR(x, n)

    oder

    x * o. / const( 2^n )?

    Danke

    Franz

     
  • Anonymous - 2006-10-12

    Originally created by: Fx64

    Hallo Franz,

    glaube lange überlegen muss man hier nicht...

    SHL o. SHR(x, n) ...wird schneller sein.

    Viele Grüsse

     
  • mwatermann - 2006-10-12

    shift befehle dürften nach NOPs mit das schnellste sein

     
  • Franz - 2006-10-13

    also doch wie im guten alten Assembler

    Thanx a lot

    Franz

     

Log in to post a comment.