[llvm-commits] should return values be sign/zero extended on the Cell SPU?
Rafael Espindola
espindola at google.com
Fri Mar 13 10:34:14 PDT 2009
The proposed patch for bug
http://llvm.org/bugs/show_bug.cgi?id=3779
affects some Cell SPU tests (and_ops.ll for example). The difference is that
now the i8 and i16 return values are no longer sign/zero extended. I couldn't
find anything in the ABI about it, so I don't know if that is an issue or not.
For other architectures that require sign/zero extension of return values the
issue in handled with the signext attribute. Maybe the CellSPU backend needs
to handle it properly?
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
More information about the llvm-commits
mailing list