[PATCH] [mips] Return {f128} correctly for N32/N64.

Daniel Sanders daniel.sanders at imgtec.com
Thu Oct 2 05:42:17 PDT 2014


Hi vmedic,

According to the ABI documentation, f128 and {f128} should both be returned
in $f0 and $f2. However, this doesn't match GCC's behaviour which is to
return f128 in $f0 and $f2, but {f128} in $f0 and $f1.

http://reviews.llvm.org/D5578

Files:
  lib/Target/Mips/MipsCallingConv.td
  lib/Target/Mips/MipsISelLowering.cpp
  test/CodeGen/Mips/cconv/return-hard-struct-f128.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5578.14321.patch
Type: text/x-patch
Size: 3330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141002/f9a7af09/attachment.bin>


More information about the llvm-commits mailing list