<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/target/s390x/helper.c, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/target/s390x/helper.c?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/target/s390x/helper.c?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-04-20T19:12:47+00:00</updated>
<entry>
<title>Don't include sysemu/tcg.h if it is not necessary</title>
<updated>2022-04-20T19:12:47+00:00</updated>
<author>
<name>Thomas Huth</name>
</author>
<published>2022-03-15T14:41:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=55d71e0b784e03dbd15bc13d75af88ed5340fde8'/>
<id>urn:sha1:55d71e0b784e03dbd15bc13d75af88ed5340fde8</id>
<content type='text'>
This header only defines the tcg_allowed variable and the tcg_enabled()
function - which are not required in many files that include this
header. Drop the #include statement there.

Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20220315144107.1012530-1-thuth@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>target/s390x: make helper.c sysemu-only</title>
<updated>2021-07-07T12:01:59+00:00</updated>
<author>
<name>Cho, Yu-Chen</name>
</author>
<published>2021-07-07T10:53:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=da9448854693bb5958d181b8f67bdb7760e0d0b0'/>
<id>urn:sha1:da9448854693bb5958d181b8f67bdb7760e0d0b0</id>
<content type='text'>
Now that we have moved cpu-dump functionality out of helper.c,
we can make the module sysemu-only.

Signed-off-by: Claudio Fontana &lt;cfontana@suse.de&gt;
Signed-off-by: Cho, Yu-Chen &lt;acho@suse.com&gt;
Acked-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20210707105324.23400-11-acho@suse.com&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/s390x: split cpu-dump from helper.c</title>
<updated>2021-07-07T12:01:58+00:00</updated>
<author>
<name>Cho, Yu-Chen</name>
</author>
<published>2021-07-07T10:53:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=98be64d2f4dd5ff66b16e3525ee7d099d82f5ec8'/>
<id>urn:sha1:98be64d2f4dd5ff66b16e3525ee7d099d82f5ec8</id>
<content type='text'>
Splitting this functionality also allows us to make helper.c sysemu-only.

Signed-off-by: Claudio Fontana &lt;cfontana@suse.de&gt;
Signed-off-by: Cho, Yu-Chen &lt;acho@suse.com&gt;
Acked-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20210707105324.23400-10-acho@suse.com&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/s390x: rename internal.h to s390x-internal.h</title>
<updated>2021-07-07T12:01:56+00:00</updated>
<author>
<name>Cho, Yu-Chen</name>
</author>
<published>2021-07-07T10:53:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=b6b4722307f31491ee553c674ded2a8bba6173e1'/>
<id>urn:sha1:b6b4722307f31491ee553c674ded2a8bba6173e1</id>
<content type='text'>
The internal.h file is renamed to s390x-internal.h, because of the
risk of collision with other files with the same name.

Signed-off-by: Claudio Fontana &lt;cfontana@suse.de&gt;
Signed-off-by: Cho, Yu-Chen &lt;acho@suse.com&gt;
Acked-by: David Hildenbrand &lt;david@redhat.com&gt;
Acked-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20210707105324.23400-7-acho@suse.com&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/s390x: Improve s390_cpu_dump_state vs cc_op</title>
<updated>2021-06-21T06:48:21+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-06-15T03:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d09e6c921301d4377c73e0bc9010b52f201862dd'/>
<id>urn:sha1:d09e6c921301d4377c73e0bc9010b52f201862dd</id>
<content type='text'>
Use s390_cpu_get_psw_mask so that we print the correct
architectural value of psw.mask.  Do not print cc_op
unless tcg_enabled.

Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Tested-by: jonathan.albrecht &lt;jonathan.albrecht@linux.vnet.ibm.com&gt;
Tested-by: &lt;ruixin.bao@ibm.com&gt;
Message-Id: &lt;20210615030744.1252385-4-richard.henderson@linaro.org&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/s390x: Do not modify cpu state in s390_cpu_get_psw_mask</title>
<updated>2021-06-21T06:48:21+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-06-15T03:07:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3c11c2ebb062ffb5d7dcad44ab0fb60505ad5cac'/>
<id>urn:sha1:3c11c2ebb062ffb5d7dcad44ab0fb60505ad5cac</id>
<content type='text'>
We want to use this function for debugging, and debug should
not modify cpu state (even non-architectural cpu state) lest
we introduce heisenbugs.

Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Tested-by: jonathan.albrecht &lt;jonathan.albrecht@linux.vnet.ibm.com&gt;
Tested-by: &lt;ruixin.bao@ibm.com&gt;
Message-Id: &lt;20210615030744.1252385-3-richard.henderson@linaro.org&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/s390x: Expose load_psw and get_psw_mask to cpu.h</title>
<updated>2021-06-21T06:48:21+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2021-06-15T03:07:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e2b2a8649bcd4769f453497b2abffbe44c7f86ad'/>
<id>urn:sha1:e2b2a8649bcd4769f453497b2abffbe44c7f86ad</id>
<content type='text'>
Rename to s390_cpu_set_psw and s390_cpu_get_psw_mask at the
same time.  Adjust so that they compile for user-only.

Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Tested-by: jonathan.albrecht &lt;jonathan.albrecht@linux.vnet.ibm.com&gt;
Tested-by: &lt;ruixin.bao@ibm.com&gt;
Message-Id: &lt;20210615030744.1252385-2-richard.henderson@linaro.org&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/s390x: Improve SUB LOGICAL WITH BORROW</title>
<updated>2020-12-21T17:11:33+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2020-12-14T22:13:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1a9aaa4b735e62fab5e72153ee84757e0e5fd467'/>
<id>urn:sha1:1a9aaa4b735e62fab5e72153ee84757e0e5fd467</id>
<content type='text'>
Now that SUB LOGICAL outputs borrow, we can use that as input directly.
It also means we can re-use CC_OP_SUBU and produce an output borrow
directly from SUB LOGICAL WITH BORROW.

Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20201214221356.68039-5-richard.henderson@linaro.org&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/s390x: Improve cc computation for SUBTRACT LOGICAL</title>
<updated>2020-12-21T17:11:33+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2020-12-14T22:13:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=a2db06da7dff662159c809059cda5e2aa302ec86'/>
<id>urn:sha1:a2db06da7dff662159c809059cda5e2aa302ec86</id>
<content type='text'>
The resulting cc is only dependent on the result and the carry-out.
Carry-out and borrow-out are inverses, so are trivially converted.
With tcg ops, it is easier to compute borrow-out than carry-out, so
save result and borrow-out rather than the inputs.

Borrow-out for 64-bit inputs is had via tcg_gen_sub2_i64 directly
into cc_src.  Borrow-out for 32-bit inputs is had via extraction
from a normal 64-bit sub (with zero-extended inputs).

Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20201214221356.68039-4-richard.henderson@linaro.org&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
<entry>
<title>target/s390x: Improve ADD LOGICAL WITH CARRY</title>
<updated>2020-12-21T17:11:33+00:00</updated>
<author>
<name>Richard Henderson</name>
</author>
<published>2020-12-14T22:13:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3bcc3fa79902d72ab6385bb135e4c3e34931a697'/>
<id>urn:sha1:3bcc3fa79902d72ab6385bb135e4c3e34931a697</id>
<content type='text'>
Now that ADD LOGICAL outputs carry, we can use that as input directly.
It also means we can re-use CC_OP_ADDU and produce an output carry
directly from ADD LOGICAL WITH CARRY.

Reviewed-by: David Hildenbrand &lt;david@redhat.com&gt;
Signed-off-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
Message-Id: &lt;20201214221356.68039-3-richard.henderson@linaro.org&gt;
Signed-off-by: Cornelia Huck &lt;cohuck@redhat.com&gt;
</content>
</entry>
</feed>
