VirtualBox

Changeset 69463 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Oct 28, 2017 10:58:50 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118798
Message:

recompiler: scm updates

Location:
trunk/src/recompiler
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/README.vbox

    • Property svn:eol-style set to native
  • trunk/src/recompiler/Sun/deftoimp.sed

    r44528 r69463  
    44#
    55
    6 #
    76#
    87# Copyright (C) 2006-2010 Oracle Corporation
  • trunk/src/recompiler/Sun/e_powl-x86.S

    r18083 r69463  
    2424
    2525#ifdef __MINGW32__
    26 # define ASM_TYPE_DIRECTIVE(name,typearg) 
    27 # define ASM_SIZE_DIRECTIVE(name) 
     26# define ASM_TYPE_DIRECTIVE(name,typearg)
     27# define ASM_SIZE_DIRECTIVE(name)
    2828# define cfi_adjust_cfa_offset(a)
    2929# define C_LABEL(name)       _ ## name:
     
    3232# define ALIGNARG(log2) 1<<log2
    3333#elif __APPLE__
    34 # define ASM_TYPE_DIRECTIVE(name,typearg) 
    35 # define ASM_SIZE_DIRECTIVE(name) 
     34# define ASM_TYPE_DIRECTIVE(name,typearg)
     35# define ASM_SIZE_DIRECTIVE(name)
    3636# define cfi_adjust_cfa_offset(a)
    3737# define C_LABEL(name)       _ ## name:
  • trunk/src/recompiler/Sun/testmath.c

    r62042 r69463  
    22/** @file
    33 * Testcase for the no-crt math stuff.
     4 */
     5
     6/*
     7 * Copyright (C) 2006-2016 Oracle Corporation
     8 *
     9 * This file is part of VirtualBox Open Source Edition (OSE), as
     10 * available from http://www.virtualbox.org. This file is free software;
     11 * you can redistribute it and/or modify it under the terms of the GNU
     12 * General Public License (GPL) as published by the Free Software
     13 * Foundation, in version 2 as it comes in the "COPYING" file of the
     14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    416 */
    517
  • trunk/src/recompiler/target-i386/TODO

    r37689 r69463  
    22
    33- some eflags manipulation incorrectly reset the bit 0x2.
    4 - SVM: test, cpu save/restore, SMM save/restore. 
     4- SVM: test, cpu save/restore, SMM save/restore.
    55- x86_64: lcall/ljmp intel/amd differences ?
    66- better code fetch (different exception handling + CS.limit support)
     
    1010- test ldt limit < 7 ?
    1111- fix some 16 bit sp push/pop overflow (pusha/popa, lcall lret)
    12 - full support of segment limit/rights 
     12- full support of segment limit/rights
    1313- full x87 exception support
    1414- improve x87 bit exactness (use bochs code ?)
  • trunk/src/recompiler/tcg/LICENSE

    • Property svn:eol-style set to native
  • trunk/src/recompiler/tcg/README

    • Property svn:eol-style set to native
    r37689 r69463  
    55TCG (Tiny Code Generator) began as a generic backend for a C
    66compiler. It was simplified to be used in QEMU. It also has its roots
    7 in the QOP code generator written by Paul Brook. 
     7in the QOP code generator written by Paul Brook.
    88
    992) Definitions
     
    3131
    3232A TCG "basic block" corresponds to a list of instructions terminated
    33 by a branch instruction. 
     33by a branch instruction.
    3434
    35353) Intermediate representation
     
    100100
    101101   and_i32 t0, t0, $0xffffffff
    102    
     102
    103103  is suppressed.
    104104
     
    324324
    325325t0 = read(t1 + offset)
    326 Load 8, 16, 32 or 64 bits with or without sign extension from host memory. 
     326Load 8, 16, 32 or 64 bits with or without sign extension from host memory.
    327327offset must be a constant.
    328328
     
    462462- The first N parameters are passed in registers.
    463463- The next parameters are passed on the stack by storing them as words.
    464 - Some registers are clobbered during the call. 
     464- Some registers are clobbered during the call.
    465465- The function can return 0 or 1 value in registers. On a 32 bit
    466466  target, functions must be able to return 2 values in registers for
  • trunk/src/recompiler/tcg/TODO

    • Property svn:eol-style set to native
    r37689 r69463  
    11- Add new instructions such as: clz, ctz, popcnt.
    22
    3 - See if it is worth exporting mul2, mulu2, div2, divu2. 
     3- See if it is worth exporting mul2, mulu2, div2, divu2.
    44
    55- Support of globals saved in fixed registers between TBs.
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette