In one case, GAS will emit slightly different code without this option.
The IAS's behaviour does not change with or without this option.
Details
- Reviewers
vkalintiris dsanders
Diff Detail
Event Timeline
I'm not sure I understand what is the goal of this patch. Could you explain a little more why we might need to set -gpsize to 0 explicitly for this test?
In one case, GAS will emit slightly different code without this option.
The IAS's behaviour does not change with or without this option.
Can you describe the difference? Also, if IAS isn't emitting the same output as GAS for the same input and equivalent options then that indicates a bug in IAS that ought to be fixed.
I cannot recall the exact difference but I believe it is the 32bit equivalent of this difference. I can get more details on this if required. The correct behavior for when the -gpsize=0 option is not given has not been implemented yet. When it is implemented this test will start to fail without this option present.
Currently dla instructions on 32-bit do not support using the 'at' register. The behavior is different to GAS unless using the -gpsize=0 option as the behavior without this option has not yet been implemented.