https://lists.webkit.org/pipermail/webkit-dev/2009-January/006460.html

want to port JIT to MIPS, any coworker or any hint?

Feature:
1. DEBUG_WITH_BREAKPOINT
2. breakpoint()

首先移植逻辑比较简单的YARR_JIT(只包含c-->JIT Code, 没有JIT Code-->C的callback.), 然后通过插入
breakpoint 的方式检查产生代码是否正确。????

> Just build webkit on XP using cgywin, not tested yet. I want to port
> to 32bit MIPS, it seems I need to touch JIT and rewrite assembler
> folder.

Once you have the bytecode interpreter up and running on MIPS, I'd
recommend starting by just trying to port WREC (the regular expression
JIT).  This is a good starting point because it utilizes a smaller
subset of the MacroAssembler interface, and has a much simpler
interface to C code (JIT code is called with C calling conventions,
and no callbacks are made into C from the JIT generated code).> Any document there on javascripcore/assembler? I also want a smart
> way to make sure output is correct.

A very simple way to validate you are generating the correct code is
to simply force the JIT to insert a breakpoint (i.e. use
MacroAssembler::breakpoint()) at the head of the function you are
generating, then run jsc under a debugger, and when it hits the
breakpoint simply disassemble the code in memory at the point it has
stopped.  Now you can visually inspect that it it has generated the
code you were expecting.

want to port JIT to MIPS, any coworker or any hint?相关推荐

  1. Mobius 一个运行在 .NET Core 上的 .NET 运行时

    导语 一个 .NET 应用仅仅只是一块在 .NET 运行时上面运行的二进制代码.而 .NET 运行时只是一个能执行这项任务的程序.当前的 .NET Framework 和 .NET Core 运行时采 ...

  2. CentOS 7 下的 Firewall

    CentOS 7 默认实用的用Firewalld作为防火墙,摒弃了原先的iptables.但是内核还是使用iptable作为管理 参考文档 https://access.redhat.com/docu ...

  3. Android Studio TCP客户端实现

    最近在做一个机器人的项目,需要用到TCP通讯这个东西.需要在手机做一个客户端,然后上去网上查了巨久巨多代码,为了避免让有需要的人少走弯路,就做一篇博文来推一下自己的做法,如果各位大大们有什么好的建议, ...

  4. 安卓端简易FTP客户端APP开发

    先上效果图: 本文的FTP客户端基于commons-net-3.3.jar库实现. 实现了ftp服务器登录. 单个文件的下载和上传,以及本地复制和删除文件. 一.登录服务器活动模块编写: 这块呢首先是 ...

  5. MIPS投RISC-V是龙芯新征程的开始

    日前,外媒报道MIPS Technologies宣布将放弃继续设计MIPS处理器,转向了RISC-V.在MIPS加盟RISC-V阵营后,有人鼓吹龙芯要完,但事实上,这完全是不了解龙芯具体情况的臆测.特 ...

  6. 做bionic(mips)的人犯错,sigsuspend 死锁

    最近遇到一个让人晕头转向的问题: 我们工作是把 Android port到其他系统中,由于常用mips 架构的 CPU , 我们的code base 基于 mips-android (http://w ...

  7. 【汇编语言与计算机系统结构笔记01】x86/MIPS/ARM指令集概述与特性,一篇HPCA引发的思考(商业生态的决定性作用)

    资源Bilibili AV46914471 + AV57921488 汇编语言与计算机系统结构 清华大学 张悠慧 本次笔记内容: 01.汇编语言与计算机系统结构 02.汇编基础知识--指令集综述 文章 ...

  8. JavaScript是解释型语言--V8、JIT

    编程语言 可以通过"语言"来控制计算机,让计算机为我们做事情.(类似于中文.英文) 编程语言是用来控制计算机的一系列指令(Instruction),它有固定的格式和词汇(不同编程语 ...

  9. 用C#实现一个简易的Mips汇编器

    用C#实现一个简易的Mips汇编器 Mips31个寄存器 Mips指令入门 Mips内存安排 C#实现 项目结构 Token.cs,定义Mips汇编语言的Token ConvertHelper.cs, ...

最新文章

  1. Linux下DIR,dirent,stat等结构体详解(转)
  2. 华为服务器显示红色的心跳,服务器心跳检查
  3. numpy dot()函数(两个数组的点积)(对于二维阵列,它是矩阵乘积)
  4. SQL获取上个月第一天和最后一天的时间写法
  5. mysql trace工具_100% 展示 MySQL 语句执行的神器-Optimizer Trace
  6. 用asp.net+Jquery+Ajax+sqlserver编写的 (英语六级记单词)
  7. EF框架step by step(4)—DBcontext应用于已存在数据库
  8. 安装Visual studio 2013并进行单元测试
  9. 应用挂载beegfs指定目录_BeeGFS源码分析1-元数据服务概要分析
  10. css表示屏幕宽度和高度
  11. 链表简介(二)——在单向链表中插入节点
  12. 据我爱无人机网-英国政府向无人机研发项目提供3000万资助
  13. sql server2008密钥
  14. 《计算机网络 自顶向下方法》答案(第七章)
  15. linux设置ipsan_linux挂载ipsan服务器
  16. 用友云实名认证,了解一下
  17. MacTeX使用指南
  18. c语言文件压缩怎么求压缩比,文件压缩C语言程序设计报告.doc
  19. 有限视图(Limited View)断层重建--CasRedSCAN论文阅读
  20. webrtc码率设置的函数调用

热门文章

  1. php5携程,携程业务部门现场管理系统
  2. 100m光纤测速多少正常_100M宽带升级到200M,为什么测速还是100M?
  3. 苹果营收及增速分析,2022年营收达2055亿美元,增速为7%
  4. RoadFlow工作流使用快速入门
  5. spring boot vue java工作流引擎j-roadflow测试环境搭建
  6. 人工智能导论测试题——第六章 进化智能与群体智能(1)
  7. sql正则提取固定内容
  8. 这十一个副业在家就可以完成,疫情在家也有收入,建议收藏
  9. uniapp 底部菜单_uni-app 自定义底部导航栏的实现
  10. 简单使用java获取7个法定假期的时间