Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Represent external worlds by a coinductive type rather than an inductive type. | Xavier Leroy | 2015-06-07 | 2 | -2/+2 | |
| | | | | | | | | | | | | As noticed by R. Krebbers, an inductive type for external worlds implies that all sequences of program-world interactions are finite, which is not the case. | |||||
* | | | Error if, in the same scope, a typedef is redefined as a variable, or a ↵ | Xavier Leroy | 2015-06-06 | 1 | -2/+8 | |
| | | | | | | | | | | | | variable is redefined as a typedef. | |||||
* | | | Update Changelog for release 2.5. | Xavier Leroy | 2015-06-05 | 1 | -4/+79 | |
| | | | ||||||
* | | | Allow the option -o to be also the prefix of the file name for compability ↵ | Bernhard Schommer | 2015-05-31 | 1 | -0/+2 | |
| | | | | | | | | | | | | with different build systems. | |||||
| | * | Merge branch 'master' into json_export | Bernhard Schommer | 2015-05-29 | 4 | -29/+31 | |
| | |\ | |_|/ |/| | | ||||||
* | | | In AST.calling_conventions, record whether the original C function was ↵ | Xavier Leroy | 2015-05-22 | 4 | -23/+28 | |
| | | | | | | | | | | | | | | | | | | "old-style" unprototyped. Use this info in printing function types for Csyntax and Clight. | |||||
* | | | Missing case in type_conditional (long long vs. int or float). | Xavier Leroy | 2015-05-22 | 1 | -6/+3 | |
| | | | ||||||
| | * | Merged instructions that are printed as same instruction already in printer. | Bernhard Schommer | 2015-05-29 | 1 | -26/+26 | |
| | | | ||||||
| | * | Merge branch 'master' into json_export | Bernhard Schommer | 2015-05-21 | 5 | -53/+204 | |
| | |\ | |_|/ |/| | | ||||||
* | | | Ctyping: better typing of conditional expressions. | Xavier Leroy | 2015-05-21 | 4 | -52/+202 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ctyping: define a typechecker for whole programs. Csyntax: introduce the type "pre-program" (non-dependent). C2C: use Ctyping.econdition instead of Ctyping.econdition'. Note: Ctyping.typecheck_program could be used as the first step in the verified compilation pipeline. Then, retyping would no longer be performed in C2C. We keep it this way (for the time being) because retyping errors are reported more precisely in C2C than in Ctyping. | |||||
* | | | Changed the producer tag to include more information. | Bernhard Schommer | 2015-05-18 | 1 | -1/+2 | |
| | | | ||||||
| | * | Added flag for the renaming of static functions. | Bernhard Schommer | 2015-05-19 | 5 | -8/+27 | |
| | | | ||||||
| | * | Updated the printing of iniline asm and simplified some structures. | Bernhard Schommer | 2015-05-18 | 1 | -136/+118 | |
| | | | ||||||
| | * | Merge branch 'master' into json_export | Bernhard Schommer | 2015-05-18 | 28 | -317/+381 | |
| | |\ | |_|/ |/| | | ||||||
* | | | Make a register as storage specify to a fatal error. | Bernhard Schommer | 2015-05-14 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merged PrintAnnot into PrintAsmaux. | Bernhard Schommer | 2015-05-14 | 7 | -200/+178 | |
| | | | ||||||
* | | | Changed the enter_or_refine_ident function to produce an error if a ↵ | Bernhard Schommer | 2015-05-13 | 1 | -6/+14 | |
| | | | | | | | | | | | | non-static declaration is followed by a static declaration/definition. | |||||
* | | | Updated PrintOp for the single-precision FP operations. | Xavier Leroy | 2015-05-09 | 3 | -0/+41 | |
| | | | ||||||
* | | | Extended inline asm: revised treatment of clobbered registers. | Xavier Leroy | 2015-05-09 | 17 | -110/+147 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Treat clobbered registers as being destroyed by EF_inline_asm builtins (which is the truth, semantically). - To enable the above, represent clobbers as Coq strings rather than idents and move register_by_name from Machregsaux.ml to Machregs.v. - Side benefit: more efficient implementation of Machregsaux.name_of_register. -# Please enter the commit message for your changes. Lines starting | |||||
| | * | Merge branch 'master' into json_export | Bernhard Schommer | 2015-05-07 | 3 | -6/+6 | |
| | |\ | |_|/ |/| | | ||||||
* | | | Use globl also for global variables. | Bernhard Schommer | 2015-05-07 | 1 | -1/+1 | |
| | | | ||||||
* | | | Typo: Val.sun_inject -> Val.sub_inject. | Xavier Leroy | 2015-05-06 | 2 | -5/+5 | |
| | | | ||||||
| | * | Moved the information needed from the atoms to the ASM printer and removed ↵ | Bernhard Schommer | 2015-05-06 | 3 | -100/+50 | |
| | | | | | | | | | | | | unused information from the json dump. | |||||
| | * | Removed printing of information for internals and externals that should be ↵ | Bernhard Schommer | 2015-05-05 | 1 | -49/+28 | |
| | | | | | | | | | | | | folded away prior. | |||||
| | * | Merge branch 'master' into json_export | Bernhard Schommer | 2015-05-05 | 31 | -571/+737 | |
| | |\ | |_|/ |/| | | ||||||
* | | | Long-overdue renaming: val_inject -> Val.inject, etc, for consistency with ↵ | Xavier Leroy | 2015-04-30 | 18 | -371/+373 | |
| | | | | | | | | | | | | Val.lessdef, etc. | |||||
* | | | Detect uses of anonymous structs/unions (a C2011 feature and GCC extension) ↵ | Xavier Leroy | 2015-04-30 | 1 | -0/+14 | |
| | | | | | | | | | | | | and produce a diagnostic instead of ignoring them. | |||||
* | | | Detect and reject "&" operator applied to "register" local variable or to a ↵ | Xavier Leroy | 2015-04-28 | 3 | -0/+34 | |
| | | | | | | | | | | | | bit field. | |||||
* | | | Bitfield improvements continued: perform bitfield expansion before ↵ | Xavier Leroy | 2015-04-28 | 3 | -181/+211 | |
| | | | | | | | | | | | | unblocking; improve translation of bitfield initializers and compound literals. | |||||
* | | | Extended inline asm: handle missing cases. | Xavier Leroy | 2015-04-28 | 8 | -19/+105 | |
|/ / | | | | | | | | | | | Bitfields: better translation of initializers and compound literals; run this pass before unblocking. Transform.stmt: extend with ability to treat unblocked code. test/regression: more bitfield tests. | |||||
| * | Merge branch 'master' into json_export | Bernhard Schommer | 2015-04-27 | 1 | -3/+17 | |
| |\ | |/ |/| | ||||||
* | | Warn if a nonzero FP literal converts to infinity (overflow) or to 0 ↵ | Xavier Leroy | 2015-04-25 | 1 | -3/+17 | |
| | | | | | | | | | | | | (underflow). Also: spurious '\n' in C2C.warning. | |||||
| * | Added the first version of the sdump export to json. | Bernhard Schommer | 2015-04-27 | 5 | -2/+498 | |
|/ | ||||||
* | Allow "scratch" (non-allocatable temporary registers) to be mentioned in asm ↵ | Xavier Leroy | 2015-04-23 | 7 | -2/+12 | |
| | | | | clobber lists. | |||||
* | Take asm clobbers into account for determining callee-save registers used. | Xavier Leroy | 2015-04-23 | 9 | -4/+37 | |
| | ||||||
* | Give a name to the type of atoms. | Xavier Leroy | 2015-04-23 | 1 | -2/+4 | |
| | ||||||
* | Update clightgen to the new annotations and the new inline asm. | Xavier Leroy | 2015-04-23 | 2 | -25/+10 | |
| | ||||||
* | Merge pull request #40 from AbsInt/inline-asm | Xavier Leroy | 2015-04-22 | 33 | -76/+604 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC-style extended inline asm. The subset implemented is: - zero or one output - output constraints "=r" (to register) or "=m" (to memory) - zero, one or several inputs - input constraints "r" (in register), "m" (in memory), "i" and "n" (compile-time integer constant) - clobbered registers (the 3rd argument) - both anonymous (%3) and named (%[name]) operands - modifiers %R and %Q to refer to the most significant / least significant part of a register pair holding a 64-bit integer. (Undocumented GCC ARM feature.) All asm statements are treated as "volatile", possibly modifying memory and condition codes. | |||||
| * | Extended asm: more lenient treatment of constraints. | Xavier Leroy | 2015-04-22 | 1 | -10/+21 | |
| | | | | | | | | | | We can ignore alternatives as long as one of the constraints we handle (r, m, i, n) is there. | |||||
| * | Avoid multiple errors being reported in the case #outputs >= 2. | Xavier Leroy | 2015-04-21 | 1 | -2/+6 | |
| | | ||||||
| * | Proper treatment of extended asm. | Xavier Leroy | 2015-04-21 | 1 | -1/+5 | |
| | | ||||||
| * | Use Cerrors for error reporting instead of rolling our own reporting in C2C. | Xavier Leroy | 2015-04-21 | 1 | -11/+5 | |
| | | ||||||
| * | Cleanups and updates for extended asm. | Xavier Leroy | 2015-04-21 | 5 | -7/+5 | |
| | | ||||||
| * | Printing of EF_inline_asm builtins in GCC extended asm syntax. | Xavier Leroy | 2015-04-21 | 1 | -0/+30 | |
| | | ||||||
| * | Support for GCC-style extended asm, continued: | Xavier Leroy | 2015-04-21 | 15 | -101/+306 | |
| | | | | | | | | | | | | | | | | - support "r", "m" and "i" constraints - support "%Q" and "%R" modifiers for register pairs - support register clobbers - split off analysis and transformation of asm statements in cparser/ExtendedAsm.ml | |||||
| * | Experiment: support a subset of GCC's extended asm statements. | Xavier Leroy | 2015-04-17 | 25 | -63/+341 | |
| | | ||||||
| * | Define M_PI if not already there (it's not in <math.h> for strict ISO C99). | Xavier Leroy | 2015-04-17 | 1 | -0/+4 | |
|/ | ||||||
* | Correct type of label function. | Bernhard Schommer | 2015-04-16 | 1 | -1/+1 | |
| | ||||||
* | Added missing dummy functions. | Bernhard Schommer | 2015-04-16 | 2 | -0/+12 | |
| | ||||||
* | Merge pull request #37 from AbsInt/dwarf | Bernhard Schommer | 2015-04-15 | 24 | -42/+1615 | |
|\ | | | | | Added the Dwarf v2 debugging information for global variables and functions for the Diab Backend. |