Fix inline ASM to use local labels for jump operations
Non-local ASM labels break for this test when compiled with clang. Change-Id: I15bd250a991c3b03bbc88459a6358090bd157444 Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>bb10
parent
e0e22d56ac
commit
991c498905
|
|
@ -68,9 +68,9 @@ void tst_BenchlibCallgrind::twoHundredMillionInstructions()
|
|||
QBENCHMARK {
|
||||
__asm__ __volatile__(
|
||||
"mov $100000000,%%eax \n"
|
||||
"LOOPTOP: \n"
|
||||
"1: \n"
|
||||
"dec %%eax \n"
|
||||
"jnz LOOPTOP \n"
|
||||
"jnz 1b \n"
|
||||
: /* no output */
|
||||
: /* no input */
|
||||
: /* clobber */ "eax"
|
||||
|
|
|
|||
Loading…
Reference in New Issue