Some checks failed
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 1m34s
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Successful in 2m46s
sm-rpc / build (Debug, host.gcc) (push) Failing after 1m28s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Successful in 2m14s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Successful in 2m8s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Successful in 5m35s
sm-rpc / build (Release, host.gcc) (push) Failing after 1m55s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Successful in 7m21s
23 lines
439 B
C
23 lines
439 B
C
#include <stdint.h>
|
|
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
for( int i=0; i<255*3+1; i++ )
|
|
{
|
|
// replace 4 with 2 for ARM NEON table
|
|
uint32_t range = ( 4 << 16 ) / ( 1+i );
|
|
if( range > 0xFFFF ) range = 0xFFFF;
|
|
if( i % 16 == 15 )
|
|
{
|
|
printf( "0x%04x,\n", range );
|
|
}
|
|
else
|
|
{
|
|
printf( "0x%04x, ", range );
|
|
}
|
|
}
|
|
printf( "\n" );
|
|
return 0;
|
|
}
|