Giter Club home page Giter Club logo

Comments (10)

hlide avatar hlide commented on May 18, 2024

How can we provide those missing instructions? the only things I can see are auto-generated files.

from capstone.

aquynh avatar aquynh commented on May 18, 2024

you must start with LLVM: if you can add those missing VFPU instructions
into table-gen files (*.td), then we can generate the .inc files in
Capstone.

see http://llvm.org/docs/TableGen/index.html &
https://github.com/llvm-mirror/llvm/blob/master/lib/Target/Mips/Mips.td
(for Mips)

a question: regarding these VFPU instructions on Allegrex CPU, where to get
more information?

thanks.

from capstone.

hlide avatar hlide commented on May 18, 2024

Not sure I'm proficient enough with LLVM .td stuff. However I'll considerate how to provide you with the necessary information about them if you are still interested with. I was the one who added VFPU in JPCSP emulator.

from capstone.

aquynh avatar aquynh commented on May 18, 2024

Cool, then just give me the patched .TD file, I will do the rest to make
Capstone support these missing instructions.

Thanks

from capstone.

aquynh avatar aquynh commented on May 18, 2024

oh you mean to say "Not sure", but "Note sure". so yes, give me the information aboug VFPU and i will see how to support them in Mips engine.

thanks.

from capstone.

hlide avatar hlide commented on May 18, 2024

A lot of stuff I did in the past time are now gone :(. But to start with, I can give this link: http://lukasz.dk/mirror/forums.ps2dev.org/viewtopic3bd0.html?t=10471

I'll try to get more infos for missing descriptions on some vfpu instruction in this link (i'm coding a tool to auto-generate a similar description file for allegrex instructions from my .def file). I have a .def file I use for my PSP emulator for all instructions but you probably need more information than the ones inside this .def file. By the way where I could send thoses files to you?

Just realised I also made something at my old website : http://hlide.free.fr/

And you can also reach this address : http://hlide.free.fr/vCpuxDox/vcpuxdox.html for some explanation about VFPU registers but that stuff was never finished.

from capstone.

aquynh avatar aquynh commented on May 18, 2024

Please feel free to contact me via http://capstone-engine.org/contact.html

Thanks.

from capstone.

hlide avatar hlide commented on May 18, 2024

If you are still interesting, you could also read this patch to extract all you need for implementing Allegrex disassembly : https://github.com/pspdev/psptoolchain/blob/master/patches/binutils-2.22-PSP.patch.
There might be some errors but I can then read what you implement and correct it.

from capstone.

aquynh avatar aquynh commented on May 18, 2024

sure, i will look into that. but this will take some time, as there are other priorities now.

thanks.

from capstone.

kabeor avatar kabeor commented on May 18, 2024

Close this issue for now because of legacy, plz feel free to open a new issue if there is progress.
thx :)

from capstone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.