Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | HHVM calling conventions. | Maksim Panchenko | 2015-09-29 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | HHVM calling convention, hhvmcc, is used by HHVM JIT for functions in translated cache. We currently support LLVM back end to generate code for X86-64 and may support other architectures in the future. In HHVM calling convention any GP register could be used to pass and return values, with the exception of R12 which is reserved for thread-local area and is callee-saved. Other than R12, we always pass RBX and RBP as args, which are our virtual machine's stack pointer and frame pointer respectively. When we enter translation cache via hhvmcc function, we expect the stack to be aligned at 16 bytes, i.e. skewed by 8 bytes as opposed to standard ABI alignment. This affects stack object alignment and stack adjustments for function calls. One extra calling convention, hhvm_ccc, is used to call C++ helpers from HHVM's translation cache. It is almost identical to standard C calling convention with an exception of first argument which is passed in RBP (before we use RDI, RSI, etc.) Differential Revision: http://reviews.llvm.org/D12681 llvm-svn: 248832 | ||||
* | Try to fix the MSVC build. | Benjamin Kramer | 2015-02-12 | 1 | -1/+1 |
| | | | | | | | 0xFFFFFFFFFFFFFFFFLL doesn't fit in a long long so it should have type 'unsigned long long'. MSVC thinks it's a (signed) __int64. llvm-svn: 228950 | ||||
* | MathExtras: Bring Count(Trailing|Leading)Ones and CountPopulation in line ↵ | Benjamin Kramer | 2015-02-12 | 1 | -7/+4 |
| | | | | | | | | with countTrailingZeros Update all callers. llvm-svn: 228930 | ||||
* | [Support] Remove Count{Leading,Trailing}Zeros_{32,64}. | Michael J. Spencer | 2013-05-24 | 1 | -16/+12 |
| | | | | llvm-svn: 182690 | ||||
* | [Support][MathExtras] Fix literal type issues. | Michael J. Spencer | 2013-05-24 | 1 | -36/+36 |
| | | | | llvm-svn: 182679 | ||||
* | [Support] Add type generic bit utilities to MathExtras.h | Michael J. Spencer | 2013-05-24 | 1 | -0/+91 |
| | | | | llvm-svn: 182667 | ||||
* | Fixes warnings emitted by Visual Studio 2010 compiler. | Oscar Fuentes | 2011-03-01 | 1 | -1/+1 |
| | | | | | | Patch by Erik Olofsson! llvm-svn: 126796 | ||||
* | Fixed header comment. | Misha Brukman | 2009-08-20 | 1 | -1/+1 |
| | | | | llvm-svn: 79536 | ||||
* | Make the constants fit. | Bill Wendling | 2009-04-01 | 1 | -5/+5 |
| | | | | llvm-svn: 68258 | ||||
* | Added tests for math utility functions; fixed another test's header comment. | Misha Brukman | 2009-04-01 | 1 | -0/+104 |
llvm-svn: 68249 |