2
0
Эх сурвалжийг харах

fw: force instructions in irqasm.S to be aligned

For this code, branch target alignment matters more than size.
H. Peter Anvin 3 жил өмнө
parent
commit
9535001a01

BIN
fpga/output_files/max80.jbc


BIN
fpga/output_files/max80.jic


BIN
fpga/output_files/max80.pof


BIN
fpga/output_files/max80.sof


Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 3505 - 3505
fw/boot.mif


+ 4 - 0
fw/irqasm.S

@@ -5,7 +5,10 @@
 	// use the saved registers here, no saving needed.
 	// registers need to be 
 	.pushsection ".init.irq","ax"
+	.balign 4
 	.globl _irq
+	.option push
+	.option norvc	// Alignment matters more here
 _irq:
 	addqxi sp,sp,0
 	
@@ -55,3 +58,4 @@ _irq:
 	mret
 	.type _irq, @function
 	.size _irq, . - _irq
+	.option pop

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно