genmdesc problems

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

genmdesc problems

Neale Ferguson
I cloned from master today and my build fails with:

python ./genmdesc.py TARGET_S390X . cpu-s390x.h s390x_cpu_desc ./cpu-s390x.md

Inconsistent src2 for opcode 'div_imm'

Inconsistent src2 for opcode 'div_un_imm'

Traceback (most recent call last):

  File "./genmdesc.py", line 201, in <module>

    parse_input (infile, opcodes)

  File "./genmdesc.py", line 130, in parse_input

    opcode.spec [MONO_INST_LEN] = chr(int(value))

ValueError: invalid literal for int() with base 10: ''


I haven’t changed cpu-s390x.md and git log shows no recent changes but it appears genmdesc.py is new.

Neale



_______________________________________________
Mono-devel-list mailing list
[hidden email]
http://lists.dot.net/mailman/listinfo/mono-devel-list
Reply | Threaded
Open this post in threaded view
|

Re: genmdesc problems

Zoltan Varga
Hi,

  Please try this:

On Wed, Dec 13, 2017 at 1:12 AM, Neale Ferguson <[hidden email]> wrote:
I cloned from master today and my build fails with:

python ./genmdesc.py TARGET_S390X . cpu-s390x.h s390x_cpu_desc ./cpu-s390x.md

Inconsistent src2 for opcode 'div_imm'

Inconsistent src2 for opcode 'div_un_imm'

Traceback (most recent call last):

  File "./genmdesc.py", line 201, in <module>

    parse_input (infile, opcodes)

  File "./genmdesc.py", line 130, in parse_input

    opcode.spec [MONO_INST_LEN] = chr(int(value))

ValueError: invalid literal for int() with base 10: ''


I haven’t changed cpu-s390x.md and git log shows no recent changes but it appears genmdesc.py is new.

Neale



_______________________________________________
Mono-devel-list mailing list
[hidden email]
http://lists.dot.net/mailman/listinfo/mono-devel-list



_______________________________________________
Mono-devel-list mailing list
[hidden email]
http://lists.dot.net/mailman/listinfo/mono-devel-list