Category : arm64

I’d like to perform polynomial multiplication of two uint64_t values (where the least significant bit (the one got by w&1) is the least significant coefficient (the a0 in for w(x)=∑iai*xi )) on ARM and get the least significant 64 coefficients (a0…a63) of the result as uint64_t (so result>>i&1 is ai). It’s not clear to me, ..

Read more

I have two static third-party libraries which have same exported symbol, and all of symbols I what to use in my shared library. objcopy can redefine symbols from library. After install binutils package from brew, extract all *.o files from static library and and call objcopy for each *.o files objcopy –redefine-sym pack objects with ..

Read more

I am trying to run the ArmIE emulator. I compiled source file with GCC 10.3.0 for SVE by using: gcc -O3 -march=armv8-a+sve -o hello hello.c armie -msve-vector-bits=512 ./hello But get an error message: armie’s SVESigHandler caught signal SIGSEGV from the process being emulated, passing it to the default signal handler. Guest process terminated by signal: ..

Read more

I’m trying to match the behavior exactly between an application running on both x86_64 and aarch64/arm64. However, they differ in how they cast a floating point number to an integer when it’s outside of the possible range of integers. Consider the following example: #include <stdio.h> #include <cstdint> void cast(float value) { printf("uint32_t(%.2f) = %un", value, ..

Read more