diff options
author | Sergii Romantsov <[email protected]> | 2018-04-02 09:59:06 +0300 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2018-04-12 21:49:28 +0200 |
commit | 755d07c2692ea7f84bf15a545271311332e5b1da (patch) | |
tree | 6a8948a0718a47d1a30bb660e85b5ecaf0fdf4e6 /src/compiler | |
parent | b44df1d118cc0880891ccd2c10f6175c835bf09d (diff) |
i965: Extend the negative 32-bit deltas to 64-bits
Gen8+ use 48-bit address relocations so need to extend the sign
to 64-bit return value. Without it we have higher bits zeroed
and missing the negavive values.
Haswell and older use 32-bit deltas so are unaffected by this issue.
v2:
used int32_t fucntion parameter instead of explicit type conversion.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101408
Signed-off-by: Sergii Romantsov <[email protected]>
Tested-by: Andriy Khulap <[email protected]>
Tested-by: Stuart Young <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Cc: "18.0 17.3" <[email protected]>
(cherry picked from commit 98b860e3115ff937152dbf4c843e1ecb9244734c)
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions