Commit graph

80 commits

Author SHA1 Message Date
Quentin Carbonneaux
fcdef10dae make variadic args explicit
Some abis, like the riscv one, treat
arguments differently depending on
whether they are variadic or not.
To prepare for the upcomming riscv
target, we change the variadic call
syntax and give meaning to the
location of the '...' marker.

  # new syntax
  %ret =w call $f(w %regular, ..., w %variadic)

By nature of their abis, the change
is backwards compatible for existing
targets.
2021-10-22 23:53:25 +02:00
Thomas Bracht Laumann Jespersen
4756643e58 docs/llvm: Fix typo jeoparadized -> jeopardized 2021-02-16 11:37:55 +01:00
Quentin Carbonneaux
5e5e301e86 fix a typo in call's BNF
Thanks to Jakob for pointing this out.
2020-08-06 10:34:42 +02:00
Michael Forney
cf9f2e8ef7 doc: Aggregate types can be nested 2019-02-21 09:36:35 +01:00
Michael Forney
fcd55bb441 doc: Include align in data BNF 2019-02-21 09:27:05 +01:00
Quentin Rameau
51c46ba691 Small corrections in documentation 2017-04-26 09:35:05 -04:00
Quentin Carbonneaux
0d77e262a6 documentation update 2017-04-18 10:02:14 -04:00
Quentin Carbonneaux
b9c8724ea5 remove html converter 2017-04-14 12:57:17 -04:00
Quentin Carbonneaux
d6316a9a5f add instructions to build on windows 2017-04-08 22:10:02 -04:00
Quentin Carbonneaux
6fd78ec78f nits in the documentation 2017-04-08 22:10:02 -04:00
Quentin Carbonneaux
37064c6468 use amd64 instead of x64 in abi doc 2017-04-08 22:10:01 -04:00
Quentin Carbonneaux
a940cc808e turn the instruction index into a list 2017-02-22 12:30:44 -05:00
Quentin Rameau
835b2b4910 create an index for the instructions in the IL doc 2017-02-03 09:26:43 -05:00
Quentin Rameau
cec21e6540 create an instruction index for the IL doc 2017-01-20 11:26:37 -05:00
Quentin Rameau
9fbb276e37 change 'b' and 'h' ordering in IL doc 2017-01-20 11:25:46 -05:00
Quentin Carbonneaux
0602ad48f0 remove styling from generated html 2017-01-07 15:57:09 -05:00
Quentin Carbonneaux
260178dcef prepare for new c9x infrastructure 2017-01-06 22:57:30 -05:00
Quentin Carbonneaux
6ed62fe945 doc nits 2016-11-09 22:34:05 -05:00
Quentin Carbonneaux
b39ccc6061 add magic for mobile viewing of doc 2016-10-19 11:24:11 -04:00
Quentin Carbonneaux
97d33be074 update documentation with new fp conversions 2016-04-22 15:16:47 -04:00
Quentin Carbonneaux
1c96401f0c oops fix wrong instruction names in doc 2016-04-21 14:27:15 -04:00
Quentin Carbonneaux
84bb28c042 support calls with no return
I thought it would be harder (and maybe it is).
My fear was that a call must be always followed by
a parallel move from machine registers (this is an
assumption in both spill and rega).  This however
remains true, because the ABI code generates a
dummy "copy RAX" by accident!
2016-04-20 12:53:42 -04:00
Quentin Carbonneaux
cecf04f009 cosmetic fixes in llvm comparison 2016-04-09 19:11:25 -04:00
Quentin Carbonneaux
fbbd2252aa typos in il.txt, thanks Robert Ransom 2016-03-29 17:35:37 -04:00
Quentin Carbonneaux
087b7bf978 dark types are called opaque in the doc 2016-03-24 13:44:55 -04:00
Quentin Carbonneaux
ddd4f43a39 change IR to IL 2016-03-24 13:36:29 -04:00
Quentin Carbonneaux
993ca957ef typos in llvm.txt (thanks lucie) 2016-03-23 22:33:36 -04:00
Quentin Carbonneaux
84fbd00237 add comparison to llvm 2016-03-23 21:56:15 -04:00
Quentin Carbonneaux
2d9aabefff add sync target in doc/ Makefile 2016-03-17 13:01:46 -04:00
Quentin Carbonneaux
8ac4af4875 document new shift operations 2016-03-16 11:40:47 -04:00
Quentin Carbonneaux
1b27215003 document exts and truncd 2016-03-15 14:07:13 -04:00
Quentin Carbonneaux
f691d4fb6b doc is now complete 2016-03-15 13:50:34 -04:00
Quentin Carbonneaux
714c472055 massage Instructions section 2016-03-15 10:44:05 -04:00
Quentin Carbonneaux
42c8252b03 generate readable internal links 2016-03-15 10:43:41 -04:00
Quentin Carbonneaux
15aa877cae finish the Memory section 2016-03-14 20:52:34 -04:00
Quentin Carbonneaux
d80f801307 lesser hack to get rid of the css hack 2016-03-14 20:07:53 -04:00
Quentin Carbonneaux
08803ecc60 add css hack for nicer instruction descriptions 2016-03-14 17:08:10 -04:00
Quentin Carbonneaux
69e051ae4e compactify some instruction lists 2016-03-14 17:07:47 -04:00
Quentin Carbonneaux
68c3b7ba51 start doc on memory instructions 2016-03-14 16:49:32 -04:00
Quentin Carbonneaux
433ab81939 start description of instructions 2016-03-14 16:30:53 -04:00
Quentin Carbonneaux
d9ed44cc86 do not drop initial indent of Verb blocks 2016-03-13 15:50:03 -04:00
Quentin Carbonneaux
ffb9e98152 rework the types section 2016-03-13 09:44:46 -04:00
Quentin Carbonneaux
e76a6f7339 less redundancy in il.html 2016-03-13 09:28:39 -04:00
Quentin Carbonneaux
0e89049f01 BNF Syntax becomes Notation 2016-03-11 13:24:55 -05:00
Quentin Carbonneaux
01278dbeca document constants 2016-03-11 13:22:44 -05:00
Quentin Carbonneaux
5f80243857 style 2016-03-10 16:21:44 -05:00
Quentin Carbonneaux
e616988515 move constant section higher 2016-03-10 16:16:19 -05:00
Quentin Carbonneaux
ff9990ed6f be more precise 2016-03-10 16:12:04 -05:00
Quentin Carbonneaux
1e6d05e6dd flesh Control section 2016-03-10 16:06:41 -05:00
Quentin Carbonneaux
00ea8464a0 number Control section 2016-03-09 15:50:09 -05:00