Use TCGReg for all TCG targets?
Hi,
commit 48bb3750e13cbb5a634d3aeab5191d74d124232f introduced the data type 'TCGReg' in tcg/s390.
Today, s390 is the only TCG target which uses TCGReg.
This causes a conflict with my commit c0ad3001bf12292b137b05e1c4643f31c6b0a727, because some function prototypes in tcg/s390/tcg-target.c differ from those in all the other TCG targets. Builds on s390 hosts are broken now.
I'd like to use TCGReg in all TCG targets, thus fixing the conflict and improving readability of the code ('TCGReg' is more specific than 'int').
Is there consensus that this is a good idea, or should TCGReg be removed (then all TCG targets use int) or only used for s390?
I cc'ed all TCG maintainers because their code would have to be changed.
Regards,
Stefan Weil
Quoted 3 lines · Stefan Weil
Is there consensus that this is a good idea, or should TCGReg be removed (then all TCG targets use int) or only used for s390?
I think it's a good idea.
r~