Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dis_native #494

Open
mccoysc opened this issue Sep 23, 2022 · 4 comments
Open

dis_native #494

mccoysc opened this issue Sep 23, 2022 · 4 comments

Comments

@mccoysc
Copy link

mccoysc commented Sep 23, 2022

pyjion.dis.dis_native(half, include_offsets=True)

run the above code in python 3.10.7,windows10 x64.
it prints:
disassembly only supported on x86_64
@tonybaloney

@tonybaloney
Copy link
Owner

Please can you open a Python REPL and do :

from platform import machine
print(machine())

And tell me what the output is?

https://github.com/tonybaloney/Pyjion/blob/develop/main/src/pyjion/dis.py#L624

@mccoysc
Copy link
Author

mccoysc commented Oct 11, 2022 via email

@mccoysc
Copy link
Author

mccoysc commented Oct 13, 2022

Please can you open a Python REPL and do :

from platform import machine
print(machine())

And tell me what the output is?

https://github.com/tonybaloney/Pyjion/blob/develop/main/src/pyjion/dis.py#L624
the output is as following:
AMD64

@tonybaloney

@mccoysc
Copy link
Author

mccoysc commented Oct 13, 2022

Please can you open a Python REPL and do :

from platform import machine
print(machine())

And tell me what the output is?

https://github.com/tonybaloney/Pyjion/blob/develop/main/src/pyjion/dis.py#L624

image

i found the code installed via pip install is as the above picture,that's the reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants