Posts

Post not yet marked as solved
4 Replies
That's great, thanks for the digging. However, I don't quite think the cctools 'as' is the one running on MBPs - for instance, this version only recognizes '@' as comment start for arm. That's not even recognized by Apple's 'as'. Oh, I see - you are saying the cctools as is a separate compiler. the arm.c file seems to indicate NEON instructions, so maybe it can create arm64 binaries. Do you know if anyone has actually successfully used the cctols/as for the M1 MBPs ?
Post not yet marked as solved
4 Replies
My working hypothesis is that the Apple assembler is close to  https://developer.arm.com/documentation/100067/0611/armclang-Integrated-Assembler. But: there are some differences: for instance, the arm documentation allows multiple statements in one line separated by semicolons – the apple assembler does not allow it, it seems to treat semicolons as start of comments. And :'close to' is not really good enough for someone that needs to port a large assembly program to a new architecture, I'd really need accurate documentation. If that does not exist, can someone point to the actual source code (I believe it's open source, so should be freely available). Again, thanks for pointers!