drm/amdgpu/atom: add support for new div32 opcodes (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Oct 2015 18:26:41 +0000 (14:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2015 20:16:24 +0000 (16:16 -0400)
commitc2fe16aa36d2bc976f7e79600d3a118fafdcc8dc
tree79eb184bcc9e81769a6e3729bef187c6ef6b8e30
parentc9c145021f8fc8445fb07d16073696330b6186c8
drm/amdgpu/atom: add support for new div32 opcodes (v3)

Better precision than the regular div opcode.

v2: drop 64 bit divide
v3: fix op handling.  This actually is a 64 bit divide.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/atom.c
drivers/gpu/drm/amd/amdgpu/atom.h