summaryrefslogtreecommitdiff
path: root/sys/src/cmd/5l/asm.c
AgeCommit message (Collapse)Author
2021-01-235l: fix shifts by zeroOri Bernstein
on arm32, we can do one of 4 shifts by a constant: reg<<(0..31) reg>>(1..32) ((u32int)reg)>>(1..32) reg ROT (0..31) There's no way to encode a 0 bit right shift, so when encoding reg>>0, flip it to the equivalent nop reg<<0, which can be encoded.
2017-03-195l,6l,8l,kl,ql,vl: allow duplicate GLOBAL symbols (from Ori Bernstein)cinap_lenrek
The plan 9 assemblers support the DUPOK flag on text symbols. They parse and ignore it on GLOBL symbols. This patch makes it work in the linkers. The reason I ran into this is because my programming language (Myrddin) uses data symbols to generate type information, and it's useful to avoid duplicating all of the type info in every file that gets generated.
2016-07-085l: ROR instructioncinap_lenrek
2014-08-075a, 5l: add LDREX/STREX/CLREX instructionscinap_lenrek
2013-01-26add arm vfp support to compiler and linker (from sources)cinap_lenrek
2012-09-185l -H7 (elf) support (import from sources)cinap_lenrek
2012-07-30import updated compilers from sourcescinap_lenrek
2011-11-05add -P flag to 5l to produce proper flat binariesaiju
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen