<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/test/CodeGen/Mips, branch master</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/test/CodeGen/Mips?h=master</id>
<link rel='self' href='https://git.amat.us/llvm/atom/test/CodeGen/Mips?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-05-14T02:00:24Z</updated>
<entry>
<title>This is the first of three patches which creates stubs used for</title>
<updated>2013-05-14T02:00:24Z</updated>
<author>
<name>Reed Kotler</name>
<email>rkotler@mips.com</email>
</author>
<published>2013-05-14T02:00:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=eafa96485a6c3ce0de4f511ed080a64a7a44f2bb'/>
<id>urn:sha1:eafa96485a6c3ce0de4f511ed080a64a7a44f2bb</id>
<content type='text'>
Mips16/32 floating point interoperability.

When Mips16 code calls external functions that would normally have some
of its parameters or return values passed in floating point registers,
it needs (Mips32) helper functions to do this because while in Mips16 mode
there is no ability to access the floating point registers.

In Pic mode, this is done with a set of predefined functions in libc.
This case is already handled in llvm for Mips16.

In static relocation mode, for efficiency reasons, the compiler generates
stubs that the linker will use if it turns out that the external function
is a Mips32 function. (If it's Mips16, then it does not need the helper
stubs).

These stubs are identically named and the linker knows about these tricks
and will not create multiple copies and will delete them if they are not
needed.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181753 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>StackColoring: don't clear an instruction's mem operand if the underlying</title>
<updated>2013-05-14T01:42:44Z</updated>
<author>
<name>Akira Hatanaka</name>
<email>ahatanaka@mips.com</email>
</author>
<published>2013-05-14T01:42:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=dd29df06fa72de9e370cdd9d8e32ac5437a578c7'/>
<id>urn:sha1:dd29df06fa72de9e370cdd9d8e32ac5437a578c7</id>
<content type='text'>
object is a PseudoSourceValue and PseudoSourceValue::isConstant returns true (i.e.,
points to memory that has a constant value).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181751 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[mips] Add option -mno-ldc1-sdc1.</title>
<updated>2013-05-13T18:23:35Z</updated>
<author>
<name>Akira Hatanaka</name>
<email>ahatanaka@mips.com</email>
</author>
<published>2013-05-13T18:23:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=42f562a1694d24b41f36bbb4d4a086a2a470c625'/>
<id>urn:sha1:42f562a1694d24b41f36bbb4d4a086a2a470c625</id>
<content type='text'>
This option is used when the user wants to avoid emitting double precision FP
loads and stores. Double precision FP loads and stores are expanded to single
precision instructions after register allocation.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181718 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Add -mtriple=mipsel-linux-gnu to the test so that the compiler does</title>
<updated>2013-05-11T01:02:20Z</updated>
<author>
<name>Reed Kotler</name>
<email>rkotler@mips.com</email>
</author>
<published>2013-05-11T01:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a6e31cf69e1c9853bb02bad2fa0bcac0dd67997d'/>
<id>urn:sha1:a6e31cf69e1c9853bb02bad2fa0bcac0dd67997d</id>
<content type='text'>
not think it can support small data sections.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181654 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Checkin in of first of several patches to finish implementation of</title>
<updated>2013-05-10T22:25:39Z</updated>
<author>
<name>Reed Kotler</name>
<email>rkotler@mips.com</email>
</author>
<published>2013-05-10T22:25:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=46090914b783b632618268f2a5c99aab83732688'/>
<id>urn:sha1:46090914b783b632618268f2a5c99aab83732688</id>
<content type='text'>
mips16/mips32 floating point interoperability. 

This patch fixes returns from mips16 functions so that if the function
was in fact called by a mips32 hard float routine, then values
that would have been returned in floating point registers are so returned.

Mips16 mode has no floating point instructions so there is no way to
load values into floating point registers.

This is needed when returning float, double, single complex, double complex
in the Mips ABI.

Helper functions in libc for mips16 are available to do this.

For efficiency purposes, these helper functions have a different calling
convention from normal Mips calls.

Registers v0,v1,a0,a1 are used to pass parameters instead of
a0,a1,a2,a3.

This is because v0,v1,a0,a1 are the natural registers used to return
floating point values in soft float. These values can then be moved
to the appropriate floating point registers with no extra cost.

The only register that is modified is ra in this call.

The helper functions make sure that the return values are in the floating
point registers that they would be in if soft float was not in effect
(which it is for mips16, though the soft float is implemented using a mips32
library that uses hard float).
 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181641 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[mips] Add instruction selection pattern for (seteq $LHS, 0).</title>
<updated>2013-05-08T19:38:04Z</updated>
<author>
<name>Akira Hatanaka</name>
<email>ahatanaka@mips.com</email>
</author>
<published>2013-05-08T19:38:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=b637b9f89e88e8c1ffe147634c1b2b297fb6edeb'/>
<id>urn:sha1:b637b9f89e88e8c1ffe147634c1b2b297fb6edeb</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181459 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Remove some uneeded pseudos in the presence of the naked function attribute.</title>
<updated>2013-05-03T23:17:24Z</updated>
<author>
<name>Reed Kotler</name>
<email>rkotler@mips.com</email>
</author>
<published>2013-05-03T23:17:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=2bb955a6931580c9bb0472aa29b3fbbabe263295'/>
<id>urn:sha1:2bb955a6931580c9bb0472aa29b3fbbabe263295</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181072 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[mips] Split the DSP control register and define one register for each field of</title>
<updated>2013-05-03T18:37:49Z</updated>
<author>
<name>Akira Hatanaka</name>
<email>ahatanaka@mips.com</email>
</author>
<published>2013-05-03T18:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a2b2200ff8684ba23c64b24c0128a78f4b6e3c73'/>
<id>urn:sha1:a2b2200ff8684ba23c64b24c0128a78f4b6e3c73</id>
<content type='text'>
its fields.

This removes false dependencies between DSP instructions which access different
fields of the the control register. Implicit register operands are added to
instructions RDDSP and WRDSP after instruction selection, depending on the
value of the mask operand.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181041 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[mips] Handle reading, writing or copying of ccond field of DSP control</title>
<updated>2013-05-02T23:07:05Z</updated>
<author>
<name>Akira Hatanaka</name>
<email>ahatanaka@mips.com</email>
</author>
<published>2013-05-02T23:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=99ad6ac65e8c97a0d3c9d884285dda01f793b7d1'/>
<id>urn:sha1:99ad6ac65e8c97a0d3c9d884285dda01f793b7d1</id>
<content type='text'>
register.

- Define pseudo instructions which store or load ccond field of the DSP
  control register.
- Emit the pseudos in MipsSEInstrInfo::storeRegToStack and loadRegFromStack.
- Expand the pseudos before callee-scan save.
- Emit instructions RDDSP or WRDSP to copy between ccond field and GPRs. 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180969 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>[mips] Fix handling of instructions which copy to/from accumulator registers.</title>
<updated>2013-04-30T23:22:09Z</updated>
<author>
<name>Akira Hatanaka</name>
<email>ahatanaka@mips.com</email>
</author>
<published>2013-04-30T23:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=c147c1b994e1187cb471cdb7ee05f5f875eff4e0'/>
<id>urn:sha1:c147c1b994e1187cb471cdb7ee05f5f875eff4e0</id>
<content type='text'>
Expand copy instructions between two accumulator registers before callee-saved
scan is done. Handle copies between integer GPR and hi/lo registers in
MipsSEInstrInfo::copyPhysReg. Delete pseudo-copy instructions that are not
needed.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180827 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
