aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/AsmToJSON.ml
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixed syntax error and added Section_debug_line to the Json serializer.Bernhard Schommer2015-10-091-0/+1
| |
| * Quote the section names in the json files.Bernhard Schommer2015-10-021-1/+1
| |
| * Change the way the debug sections are printed.Bernhard Schommer2015-09-281-1/+1
| | | | | | | | | | | | If a user uses the #pragma use_section for functions the diab linker requires a separate debug_info section for each entry. This commit adds functionality to emulate this behavior.
| * Added support for the locations of stack allocated local variables.Bernhard Schommer2015-09-251-1/+2
| | | | | | | | | | This commit adds furher support for location information for local variables and starts with the implementation of the debug_loc section.
* | Use PowerPC 64 bits instructions (when available) for int<->FP conversions.Xavier Leroy2015-09-131-0/+8
|/ | | | | | Also: implement __builtin_isel on non-EREF platforms with a branch-free instruction sequence. Also: extend ./configure so that it recognizes "ppc64-" and "e5500-" platforms in addition to "ppc-".
* Name of stwcx. instruction should be printed Pstwcx_.Bernhard Schommer2015-09-101-1/+1
|
* Added builtin for isel.Bernhard Schommer2015-09-081-0/+1
| | | | | The builtin_isel function takes a _Bool as first argument and returns either the second or the third depending on the value of the _Bool.
* Added builtins for call frame and return address.Bernhard Schommer2015-09-071-1/+1
| | | | | | This builtins can be used to get the call frame address and the return address. To correctly compute the load address of the return address the allocframe is extended to contain the offset of the return address.
* Added builtin for the cmpb instruction.Bernhard Schommer2015-09-071-0/+1
|
* Fixed typo in AsmToJSON for instruction Pstfdu.Bernhard Schommer2015-09-041-1/+1
|
* Added json printing of Pbctr.Bernhard Schommer2015-09-031-1/+1
|
* Fixed minor typo in printing of the Plbzx instruction in AsmToJSON.Bernhard Schommer2015-09-031-1/+1
|
* Fixed minor typo in AsmToJSON.Bernhard Schommer2015-09-031-1/+1
|
* Added builtin for mbar instruction.Bernhard Schommer2015-09-031-0/+1
| | | | This commit adds a builtin function for the mbar instruction.
* New builtin for dcbz instruction.Bernhard Schommer2015-09-031-4/+5
| | | | | | This commit adds a builtin for the dcbz instructions. Additionally the dcbt,dcbtst,dcbtls and icbtls instruction are changed to their actually form all taking one additional register in Asm.v.
* Added builtin for the icbtls instruction.Bernhard Schommer2015-09-021-0/+1
| | | | This commit adds a builtin for the icbtls instruction.
* Print p_int_constant instead of p_int in AsmToJSON.Bernhard Schommer2015-09-021-5/+5
|
* Added builtin for dcbtlsBernhard Schommer2015-09-021-1/+2
| | | | | | THis commit adds a builtin function for the dcbtls instruction. Additionaly it changes the printing of the dcbt and dcbtst instruction to embedded mode and adds support for different address variants.
* Added the gcc builtin prefetch.Bernhard Schommer2015-09-011-0/+2
| | | | | | This commit implements the gcc __builtin_prefetch in a form with all arguments for the powerpc architecture. The resulting instructions are the dcbt and dcbtst instructions in Server Category.
* Adapt the PowerPC port to the new builtin representation.Xavier Leroy2015-08-211-3/+8
| | | | | | | __builtin_get_spr() and __builtin_set_spr() work, but horrible error message if the SPR argument is not a constant. powerpc/AsmToJSON.ml needs updating.
* Added builtin for the dcbf instructionBernhard Schommer2015-08-171-0/+1
|
* Added builtin for the dcbi instruction.Bernhard Schommer2015-08-171-0/+1
|
* Added builitin for the icbi instruction.Bernhard Schommer2015-08-141-0/+1
|
* Added builtin for the lwsync barrier.Bernhard Schommer2015-08-141-3/+4
|
* Use the functions from C2C to extract the information for the atoms. ↵Bernhard Schommer2015-07-061-17/+18
| | | | Simplified printing of storage class.
* Merge branch 'master' into json_exportBernhard Schommer2015-07-061-1/+1
| | | | | Conflicts: driver/Driver.ml
* Print bit representation of floats.Bernhard Schommer2015-06-241-5/+6
|
* Fixed typo also in json export.Bernhard Schommer2015-06-221-1/+1
|
* Merged instructions that are printed as same instruction already in printer.Bernhard Schommer2015-05-291-26/+26
|
* Updated the printing of iniline asm and simplified some structures.Bernhard Schommer2015-05-181-136/+118
|
* Moved the information needed from the atoms to the ASM printer and removed ↵Bernhard Schommer2015-05-061-26/+48
| | | | unused information from the json dump.
* Removed printing of information for internals and externals that should be ↵Bernhard Schommer2015-05-051-49/+28
| | | | folded away prior.
* Added the first version of the sdump export to json.Bernhard Schommer2015-04-271-0/+377