-
公开(公告)号:US20110202908A1
公开(公告)日:2011-08-18
申请号:US13030787
申请日:2011-02-18
申请人: Gyu-young Kim , Je-hyung Lee , Jin-Seok Oh , Seong-won Lee , Won-ki Jung , Soo-mook Moon
发明人: Gyu-young Kim , Je-hyung Lee , Jin-Seok Oh , Seong-won Lee , Won-ki Jung , Soo-mook Moon
IPC分类号: G06F9/45
CPC分类号: G06F9/45516
摘要: A method and an apparatus for dynamically generating a machine code is provided, including: sequentially storing generated instructions in a first buffer; sequentially storing data in a second buffer, when the generated instructions reference data; and flushing the first buffer and the second buffer to executable code when a distance between an instruction referencing the data and the data has reached a limit of an offset range of the data-referencing instruction.
摘要翻译: 提供了一种用于动态生成机器码的方法和装置,包括:在第一缓冲器中顺序地存储生成的指令; 当生成的指令参考数据时,顺序地将数据存储在第二缓冲器中; 并且当参考数据的指令与数据之间的距离已经达到数据引用指令的偏移范围的限制时,将第一缓冲器和第二缓冲器刷新为可执行代码。
-
公开(公告)号:US08826251B2
公开(公告)日:2014-09-02
申请号:US13030787
申请日:2011-02-18
申请人: Gyu-young Kim , Je-hyung Lee , Jin-seok Oh , Seong-won Lee , Won-ki Jung , Soo-mook Moon
发明人: Gyu-young Kim , Je-hyung Lee , Jin-seok Oh , Seong-won Lee , Won-ki Jung , Soo-mook Moon
CPC分类号: G06F9/45516
摘要: A method and an apparatus for dynamically generating a machine code is provided, including: sequentially storing generated instructions in a first buffer; sequentially storing data in a second buffer, when the generated instructions reference data; and flushing the first buffer and the second buffer to executable code when a distance between an instruction referencing the data and the data has reached a limit of an offset range of the data-referencing instruction.
摘要翻译: 提供了一种用于动态生成机器码的方法和装置,包括:在第一缓冲器中顺序地存储生成的指令; 当生成的指令参考数据时,顺序地将数据存储在第二缓冲器中; 并且当参考数据的指令与数据之间的距离已经达到数据引用指令的偏移范围的限制时,将第一缓冲器和第二缓冲器刷新为可执行代码。
-